_0xADB57E5B663CCA8B
Docslocal p1, p2 = 0xadb57e5b663cca8b(p0)Description
gets 2 floats from the CNetGamePlayer of p0 and stores them in p1 and p2.
Possibly waypoint?
Parameters
| Name | Type | Description |
|---|---|---|
p0 | Player | — |
p1 | float* | — |
p2 | float* | — |
Quick Snippet: Get Playerp0
p0Use 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.