kivalasztottid = 1451
function handling ( jarmue )
if getElementModel(jarmue) == 480 then
local jarmuid = getElementData(jarmue, \"dbid\")
if jarmuid == kivalasztottid then
setVehicleHandling (jarmue, \"mass\", 1600)
setVehicleHandling(jarmue, \"maxVelocity\", 400)
setVehicleHandling(jarmue, \"engineAcceleration\", 20 )
end
end
end
addEventHandler ( \"onPlayerVehicleEnter\", getRootElement(), handling )
Vagy a legegyszerűbb ha már a betöltésnél lekérdezed hogy ez az 1451-es és akkor hozzá is rendeled az elementhez a handlinget.