Difference between revisions of "SET PLAYER CONTROL"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=2 |p1t=integer |p1d=player index |p2t=boolean |p2d=on/off |r=0 }} Toggle if the specified player is controllable.)
 
m (cross-links)
 
Line 2: Line 2:
 
|np=2
 
|np=2
 
|p1t=integer
 
|p1t=integer
|p1d=player index
+
|p1d=player [[CONVERT_INT_TO_PLAYERINDEX|index]]
 
|p2t=boolean
 
|p2t=boolean
 
|p2d=on/off
 
|p2d=on/off

Latest revision as of 06:12, 11 January 2009

SET_PLAYER_CONTROL
Number of parameters: 2
Parameter #TypeDescription
1.integerplayer index
2.booleanon/off
Return value:
TypeDescription
None

Toggle if the specified player is controllable.