Difference between revisions of "IS PLAYER CONTROL ON"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=1 |p1t=integer |p1d=player index |r=1 |rt=boolean |rd=true if player is controllable }} Returns a boolean indicating if the specified player is controllable.)
 
m (cross-links)
 
Line 2: Line 2:
 
|np=1
 
|np=1
 
|p1t=integer
 
|p1t=integer
|p1d=player index
+
|p1d=player [[CONVERT_INT_TO_PLAYERINDEX|index]]
 
|r=1
 
|r=1
 
|rt=boolean
 
|rt=boolean
Line 8: Line 8:
 
}}
 
}}
  
Returns a boolean indicating if the specified player is controllable.
+
Returns a boolean indicating if the specified player is [[SET_PLAYER_CONTROL|controllable]].

Latest revision as of 06:12, 11 January 2009

IS_PLAYER_CONTROL_ON
Number of parameters: 1
Parameter #TypeDescription
1.integerplayer index
Return value:
TypeDescription
booleantrue if player is controllable

Returns a boolean indicating if the specified player is controllable.