Difference between revisions of "IS PLAYER TARGETTING ANYTHING"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{Native |np=2 |p1t = integer |p1d = Player index }} This function returns .')
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|np=2
+
|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.