natives.CHAR LOOK AT PLAYER ALWAYS: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile)
(Add ScriptItem documentation from GTA VC SCM decompile)
Line 4: Line 4:
|type = function
|type = function
|name = natives.CHAR_LOOK_AT_PLAYER_ALWAYS
|name = natives.CHAR_LOOK_AT_PLAYER_ALWAYS
|parameters = int ped, int player
|parameters = int player, int flag
|parameter1 = int ped Character handle to act upon.
|parameter1 = int player Player handle.
|parameter2 = int player Player index.
|parameter2 = int flag Flag value (0 or 1).
|usage = makes a character continuously look at the player
|usage = makes a character continuously look at the player
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Revision as of 17:30, 13 June 2026

natives.CHAR_LOOK_AT_PLAYER_ALWAYS

Signature: void natives.CHAR_LOOK_AT_PLAYER_ALWAYS(int player, int flag)

Usage: makes a character continuously look at the player

Parameters

int player Player handle.
int flag Flag value (0 or 1).

Return

void

On failure: void