Nekem ez a bizonyos kod os modszer kellene..de nem mûködik vagy csak nem értek hozzá??megvan a meta hozzá bevantéve a cucc .lua-ba illetve az egész .zip be...
function speedup (thePlayer)
if (getElementModel(source) == 506) then itt ez a szám lenne az kocsi idje?
local handlingTable = getVehicleHandling (source)
local newVelocity = ( handlingTable[\"maxVelocity\"] + ( handlingTable[\"maxVelocity\"] / 200 * 50 ) )
setVehicleHandling ( source, \"numberOfGears\", 5 ) ez a kerekek száma gondolom
setVehicleHandling ( source, \"driveType\", \'awd\' ) ez meg a meghajtás
setVehicleHandling ( source, \"maxVelocity\", newVelocity )
setVehicleHandling ( source, \"engineAcceleration\", handlingTable[\"engineAcceleration\"] +14 )
end
end
addEventHandler(\"onVehicleEnter\", root, speedup)
melyik az amelyik a kocsi irányithatóságáért,és a sebességért felelõs?illetve mi lehet rossz?
setVehicleHandling ( source, \"maxVelocity\", newVelocity ) //Sebesség
setVehicleHandling ( source, \"engineAcceleration\", handlingTable[\"engineAcceleration\"] +14 ) //Irányíthatóság (gondolom)