- Documentation
- Server functions
- getModelHandling
Function
getModelHandling
Returns the handling changes set for a model with setModelHandling (without factory values).
Syntax
table/any getModelHandling(int model [, string property = nil])Arguments
modelint- Vehicle model ID.
propertystring, optional = nil- Name of a single field.
Returns
A table of changes (empty when none) or the field value (false when the field was not changed).
Example
setModelHandling(596, "maxVelocity", 220)
outputDebugString("Radiowoz LS Vmax: " .. tostring(getModelHandling(596, "maxVelocity")))