VehicleClient

setRandomBoats

SET_RANDOM_BOATS0x84436EC293B1415F

The 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.

SignatureJavaScript
setRandomBoats(toggle: boolean): void
SignatureLua
setRandomBoats(toggle: boolean)

Usage

JavaScript
setRandomBoats(toggle);
Lua
setRandomBoats(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_RANDOM_BOATS(BOOL toggle)
Hash
0x84436EC293B1415F

Open in the interactive natives reference