setPedChanceOfFiringBlanks
SET_PED_CHANCE_OF_FIRING_BLANKS0x8378627201D5497DThe GTA V native SET_PED_CHANCE_OF_FIRING_BLANKS of the WEAPON namespace, as LS:MP client scripts call it: the global function setPedChanceOfFiringBlanks, in JavaScript and in Lua.
setPedChanceOfFiringBlanks(ped: Ped, xBias: number, yBias: number): voidsetPedChanceOfFiringBlanks(ped: Ped, xBias: number, yBias: number)Usage
JavaScript
setPedChanceOfFiringBlanks(ped, xBias, yBias);Lua
setPedChanceOfFiringBlanks(ped, xBias, yBias)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
xBias | float | number | number |
yBias | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Weapon WEAPON
- In the game
void SET_PED_CHANCE_OF_FIRING_BLANKS(Ped ped, float xBias, float yBias)- Hash
0x8378627201D5497D