DestroyObject

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:31, 28 October 2013
Badio12 (Talk | contribs)

← Previous diff
Revision as of 01:22, 1 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Title}} 
{{Description|Destroys (removes) the given object.}} {{Description|Destroys (removes) the given object.}}
Line 40: Line 39:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +
 +[[fr:DestroyObject]]
[[pt:DestroyObject]] [[pt:DestroyObject]]

Revision as of 01:22, 1 February 2014



Description:

Destroys (removes) the given object.


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


Return Values:

This function does not return any specific values.


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.


In other languages