setDispatchIdealSpawnDistance
SET_DISPATCH_IDEAL_SPAWN_DISTANCE0x6FE601A64180D423The GTA V native SET_DISPATCH_IDEAL_SPAWN_DISTANCE of the MISC namespace, as LS:MP client scripts call it: the global function setDispatchIdealSpawnDistance, in JavaScript and in Lua.
setDispatchIdealSpawnDistance(distance: number): voidsetDispatchIdealSpawnDistance(distance: number)Usage
JavaScript
setDispatchIdealSpawnDistance(distance);Lua
setDispatchIdealSpawnDistance(distance)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
distance | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Misc MISC
- In the game
void SET_DISPATCH_IDEAL_SPAWN_DISTANCE(float distance)- Hash
0x6FE601A64180D423