DestroyObject

From SA-MP Wiki

Jump to: navigation, search


Destroys (removes) the given object.


Parameters:
(objectid)
objectidThe objectid from the object you want to delete.


ReturnsThis function doesn't return a specific value


public OnObjectMoved(objectid)
{
    DestroyObject(objectid);
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Personal tools