getModelHandling | Multi Theft Auto: Wiki Skip to content

getModelHandling

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function returns a table containing the handling data of the specified vehicle model.

Syntax

table getModelHandling ( int modelId )
Required Arguments
  • modelId: the vehicle model you wish to get the handling data of.

Returns

  • table: value

Returns a table containing all the handling data, false if an invalid vehicle model is specified. Here is a list of valid table properties and what they return:

Code Examples

shared
function getHandlings(thePlayer,commandName,id)
if id then
local getVehicleHandlings = getModelHandling(id)
for k in pairs (getVehicleHandlings) do
outputChatBox(tostring(k))
end
else return end
end
addCommandHandler("gethandling",getHandlings)

See Also

Vehicle Functions