networkSetVehicleDrivenInTestDrive
NETWORK_SET_VEHICLE_DRIVEN_IN_TEST_DRIVE0x8C70252FC40F320BThe GTA V native NETWORK_SET_VEHICLE_DRIVEN_IN_TEST_DRIVE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetVehicleDrivenInTestDrive, in JavaScript and in Lua.
networkSetVehicleDrivenInTestDrive(toggle: boolean): voidnetworkSetVehicleDrivenInTestDrive(toggle: boolean)Usage
JavaScript
networkSetVehicleDrivenInTestDrive(toggle);Lua
networkSetVehicleDrivenInTestDrive(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
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.
Used by MetricVEHICLE_DIST_DRIVEN
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_VEHICLE_DRIVEN_IN_TEST_DRIVE(BOOL toggle)- Hash
0x8C70252FC40F320B- Introduced
- Game build 2699 legacy numbering
- Formerly
_NETWORK_SET_VEHICLE_TEST_DRIVE