VehicleClient

resetFormationLeader

RESET_FORMATION_LEADER0xE2F53F172B45EDE1

The GTA V native RESET_FORMATION_LEADER of the VEHICLE namespace, as LS:MP client scripts call it: the global function resetFormationLeader, in JavaScript and in Lua.

SignatureJavaScript
resetFormationLeader(): void
SignatureLua
resetFormationLeader()

Usage

JavaScript
resetFormationLeader();
Lua
resetFormationLeader()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Resets the effect of setFormationLeader

Reference

Namespace
Vehicle VEHICLE
In the game
void RESET_FORMATION_LEADER()
Hash
0xE2F53F172B45EDE1
Introduced
Game build 877 legacy numbering

Open in the interactive natives reference