setRandomBoats
SET_RANDOM_BOATS0x84436EC293B1415FThe GTA V native SET_RANDOM_BOATS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setRandomBoats, in JavaScript and in Lua.
setRandomBoats(toggle: boolean): voidsetRandomBoats(toggle: boolean)Usage
JavaScript
setRandomBoats(toggle);Lua
setRandomBoats(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_RANDOM_BOATS(BOOL toggle)- Hash
0x84436EC293B1415F