ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getModelHandling

Function

getModelHandling

ServerVehiclesTrilogy Hub only

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")))

See also