setPedShootRate
SET_PED_SHOOT_RATE0x614DA022990752DCThe GTA V native SET_PED_SHOOT_RATE of the PED namespace, as LS:MP client scripts call it: the global function setPedShootRate, in JavaScript and in Lua.
setPedShootRate(ped: Ped, shootRate: number): voidsetPedShootRate(ped: Ped, shootRate: integer)Usage
JavaScript
setPedShootRate(ped, shootRate);Lua
setPedShootRate(ped, shootRate)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
shootRate | 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.
shootRate 0-1000
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_SHOOT_RATE(Ped ped, int shootRate)- Hash
0x614DA022990752DC