Difference between revisions of "DOES OBJECT EXIST"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
'''DOES_OBJECT_EXIST''' [OBJECT]
+
{{Native
 
+
|np=1
OBJECT represents object handle, of an attaching item.
+
|p1t=handle
 
+
|p1d=object handle
 
+
|r=1
Explanation
+
|rt=boolean
 
+
|rd=true if the object handle is allocated
- Returns information wheter object exists or not.
+
}}
 
+
Returns a boolean indicating if the specified object handle is allocated in the game.
 
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS
 

Latest revision as of 20:38, 20 January 2009

DOES_OBJECT_EXIST
Number of parameters: 1
Parameter #TypeDescription
1.handleobject handle
Return value:
TypeDescription
booleantrue if the object handle is allocated

Returns a boolean indicating if the specified object handle is allocated in the game.