networkSetCurrentSpawnLocationOption
NETWORK_SET_CURRENT_SPAWN_LOCATION_OPTION0xAA6D5451DC3448B6The GTA V native NETWORK_SET_CURRENT_SPAWN_LOCATION_OPTION of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetCurrentSpawnLocationOption, in JavaScript and in Lua.
networkSetCurrentSpawnLocationOption(mpSettingSpawn: Hash): voidnetworkSetCurrentSpawnLocationOption(mpSettingSpawn: Hash)Usage
JavaScript
networkSetCurrentSpawnLocationOption(mpSettingSpawn);Lua
networkSetCurrentSpawnLocationOption(mpSettingSpawn)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
mpSettingSpawn | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_CURRENT_SPAWN_LOCATION_OPTION(Hash mpSettingSpawn)- Hash
0xAA6D5451DC3448B6- Introduced
- Game build 2699 legacy numbering
- Formerly
_NETWORK_SET_CURRENT_SPAWN_SETTING