natives.CHAR LOOK AT PLAYER ALWAYS: Difference between revisions

Add ScriptItem documentation from GTA VC SCM decompile
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
Line 1: Line 1:
// CHAR_LOOK_AT_PLAYER_ALWAYS
// 57 appels SCM
PATTERNS SCM:
  $int to_look_at_player VAR
  int@ to_look_at_player VAR
PARAMS WIKI: int entity
EXEMPLES:
  char_look_at_player_always $853 to_look_at_player $player_char
  char_look_at_player_always $854 to_look_at_player $player_char
  char_look_at_player_always $1532 to_look_at_player $player_char
TEMPLATE:
{{ScriptItem
{{ScriptItem
|endpoint = client
|endpoint = client
Line 19: Line 4:
|type = function
|type = function
|name = natives.CHAR_LOOK_AT_PLAYER_ALWAYS
|name = natives.CHAR_LOOK_AT_PLAYER_ALWAYS
|parameters = int entity
|parameters = int ped, int player
|parameter1 = int entity Description
|parameter1 = int ped Character handle to act upon.
|usage = Perform the look at player always in Vice City.
|parameter2 = int player Player index.
|usage = makes a character continuously look at the player
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
952

edits