Difference between revisions of "IS PLAYER TARGETTING ANYTHING"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
|np=1
 
|np=1
 
|p1t    = integer
 
|p1t    = integer
|p1d    = Player [[CONVERT_INT_TO_PLAYERINDEX|index]]
+
|p1d    = Player [[GET_PLAYER_ID|ID]]
 
}}
 
}}
  
This function returns .
+
This function returns true only when player lock on target.

Latest revision as of 17:41, 17 February 2011

IS_PLAYER_TARGETTING_ANYTHING
Number of parameters: 1
Parameter #TypeDescription
1.integerPlayer ID
Return value:
TypeDescription
None

This function returns true only when player lock on target.