Difference between revisions of "SET OBJECT VISIBLE"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: '''SET_OBJECT_VISIBLE''' [OBJECT, VISIBILITY] OBJECT - represents object handle VISIBILITY - Probably boolean, 0 - off, 1 - on. Explanation: - Make loaded object be visible in game. ...)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''SET_OBJECT_VISIBLE''' [OBJECT, VISIBILITY]
+
{{Native
 
+
|np=2
OBJECT - represents object handle
+
|p1t=handle
 
+
|p1d=Object handle
VISIBILITY - Probably boolean, 0 - off, 1 - on.
+
|p2t=boolean
 
+
|p2d=0 - invisible, 1 - visible
 
+
}}
Explanation:
+
Sets the visibility of the object.
 
 
- Make loaded object be visible in game.
 
 
 
 
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 
' INFORMATION IS EXTRACTED FROM GAME SCRIPTS
 

Latest revision as of 20:44, 20 January 2009

SET_OBJECT_VISIBLE
Number of parameters: 2
Parameter #TypeDescription
1.handleObject handle
2.boolean0 - invisible, 1 - visible
Return value:
TypeDescription
None

Sets the visibility of the object.