- Documentation
- Shared functions
- engineGetModelNameFromID
Function
engineGetModelNameFromID
Returns a model name by number: of a new named model or of a vehicle.
Syntax
string engineGetModelNameFromID(int modelID)Arguments
modelIDint- Model number.
Differences from MTA:SA
- In MTA:SA this function is client-side only.
In MTA:SA
engineGetModelNameFromID(int modelID)Returns
The name or false.
Example
outputServerLog(tostring(engineGetModelNameFromID(411)))