setVehicleNameDebug
SET_VEHICLE_NAME_DEBUG0xBFDF984E2C22B94FThe GTA V native SET_VEHICLE_NAME_DEBUG of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleNameDebug, in JavaScript and in Lua.
setVehicleNameDebug(vehicle: Vehicle, name: string): voidsetVehicleNameDebug(vehicle: Vehicle, name: string)Usage
JavaScript
setVehicleNameDebug(vehicle, name);Lua
setVehicleNameDebug(vehicle, name)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
name | string | string | string |
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.
NOTE: Debugging functions are not present in the retail version of the game.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_NAME_DEBUG(Vehicle vehicle, const char* name)- Hash
0xBFDF984E2C22B94F