setPedMinGroundTimeForStungun
SET_PED_MIN_GROUND_TIME_FOR_STUNGUN0xFA0675AB151073FAThe GTA V native SET_PED_MIN_GROUND_TIME_FOR_STUNGUN of the PED namespace, as LS:MP client scripts call it: the global function setPedMinGroundTimeForStungun, in JavaScript and in Lua.
setPedMinGroundTimeForStungun(ped: Ped, ms: number): voidsetPedMinGroundTimeForStungun(ped: Ped, ms: integer)Usage
JavaScript
setPedMinGroundTimeForStungun(ped, ms);Lua
setPedMinGroundTimeForStungun(ped, ms)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
ms | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Ped will stay on the ground after being stunned for at lest ms time. (in milliseconds)
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_MIN_GROUND_TIME_FOR_STUNGUN(Ped ped, int ms)- Hash
0xFA0675AB151073FA