gta.removeWorldObject

From GTA Connected
Revision as of 18:25, 4 October 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

gta.removeWorldObject

Signature: void gta.removeWorldObject(string modelName, Vec3 position, float range)

Usage: removes all world objects with specified model, within float range of specified position

Parameters

string modelName The name of the object model.
Vec3 position The position of the object.
float range The range to remove objects, as a radius from the specified position.

Return

void

On failure: void