TaskGuardSphereDefensiveArea
DocsTaskGuardSphereDefensiveArea(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)Description
p0 - Guessing PedID
p1, p2, p3 - XYZ?
p4 - ???
p5 - Maybe the size of sphere from XYZ?
p6 - ???
p7, p8, p9 - XYZ again?
p10 - Maybe the size of sphere from second XYZ?
Parameters
| Name | Type | Description |
|---|---|---|
p0 | Ped | — |
p1 | float | — |
p2 | float | — |
p3 | float | — |
p4 | float | — |
p5 | float | — |
p6 | Any | — |
p7 | float | — |
p8 | float | — |
p9 | float | — |
p10 | float | — |
Quick Snippet: Get Ped Handlep0
p0Use this to get the player ped handle for this native.
-- Get the player's ped handle (client-side)
local ped = PlayerPedId()
print("Ped handle: " .. ped)
-- For a specific player's ped (server-side):
-- local targetPed = GetPlayerPed(source)Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
voidThis native does not return a value.