isPedBeingStunned
IS_PED_BEING_STUNNED0x4FBACCE3B4138EE8The GTA V native IS_PED_BEING_STUNNED of the PED namespace, as LS:MP client scripts call it: the global function isPedBeingStunned, in JavaScript and in Lua.
isPedBeingStunned(ped: Ped, p1: number): booleanisPedBeingStunned(ped: Ped, p1: integer): booleanUsage
JavaScript
const result = isPedBeingStunned(ped, p1);Lua
local result = isPedBeingStunned(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
p1 is always 0
Reference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_BEING_STUNNED(Ped ped, int p1)- Hash
0x4FBACCE3B4138EE8