setWantedResponseNumPedsToSpawn
SET_WANTED_RESPONSE_NUM_PEDS_TO_SPAWN0xE532EC1A63231B4FThe GTA V native SET_WANTED_RESPONSE_NUM_PEDS_TO_SPAWN of the MISC namespace, as LS:MP client scripts call it: the global function setWantedResponseNumPedsToSpawn, in JavaScript and in Lua.
setWantedResponseNumPedsToSpawn(p0: number, p1: number): voidsetWantedResponseNumPedsToSpawn(p0: integer, p1: integer)Usage
JavaScript
setWantedResponseNumPedsToSpawn(p0, p1);Lua
setWantedResponseNumPedsToSpawn(p0, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | int | number | integer |
p1 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
On LS:MP
ℹ
Checked by LS:MP
p0 must be between 0 and 16, and p1 between -1 and 127. Otherwise the call is ignored: nothing reaches the game, and no error is raised.
Reference
- Namespace
- Misc MISC
- In the game
void SET_WANTED_RESPONSE_NUM_PEDS_TO_SPAWN(int p0, int p1)- Hash
0xE532EC1A63231B4F