getTotalDurationOfVehicleRecording
GET_TOTAL_DURATION_OF_VEHICLE_RECORDING0x0E48D1C262390950The GTA V native GET_TOTAL_DURATION_OF_VEHICLE_RECORDING of the VEHICLE namespace, as LS:MP client scripts call it: the global function getTotalDurationOfVehicleRecording, in JavaScript and in Lua.
getTotalDurationOfVehicleRecording(recording: number, script: string): numbergetTotalDurationOfVehicleRecording(recording: integer, script: string): numberUsage
JavaScript
const value = getTotalDurationOfVehicleRecording(recording, script);Lua
local value = getTotalDurationOfVehicleRecording(recording, script)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
recording | int | number | integer |
script | string | string | string |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
float GET_TOTAL_DURATION_OF_VEHICLE_RECORDING(int recording, const char* script)- Hash
0x0E48D1C262390950