_0xC3376F42B1FACCC6
Docs0xc3376f42b1faccc6(player)Description
- This is called after SET_ALL_RANDOM_PEDS_FLEE_THIS_FRAME
Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Quick Snippet: Get Playerplayer
playerUse this to get the local player ID or a target player's server ID.
-- Get the local player index (client-side)
local playerId = PlayerId()
-- Get the local player's server ID (for server events)
local serverId = GetPlayerServerId(playerId)
print("Player ID: " .. playerId)
print("Server ID: " .. serverId)
-- Get player ped from a server ID:
-- local targetPed = GetPlayerPed(GetPlayerFromServerId(targetServerId))Returns
voidThis native does not return a value.