DestroyObject
From SA-MP
[edit]
DestroyObject
Destroys (removes) the given object.
(objectid)
| objectid | The objectid from the object you want to delete. |
This function does not return a specific value, it's best to simply ignore it.
DestroyObject( objectid );
[edit]
Related Functions
The following functions might be useful as well, as they're related to this function in one way or another.
- CreateObject: Creates an object.
- IsValidObject: Checks if an objectid is valid.
