GET_PLAYER_ID_FOR_THIS_PED
Usage
local playerIdForThisPed = Game.GetPlayerIdForThisPed(charIndex)
Returns the player index of a player whos ped is the one with the given ped index. Returns -1 otherwise.
Parameters
charIndexintegerint
Returns
playerIdForThisPedintegerreturn value
Original declaration
// 0x733B61C6
int GET_PLAYER_ID_FOR_THIS_PED(int charIndex);