DestroyObject

From SA-MP Wiki

Jump to: navigation, search

DestroyObject


Destroys (removes) the given object.


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


This function does not return a specific value.


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

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Personal tools