Szerző Téma: handling  (Megtekintve 1225 alkalommal)

handling
« Dátum: 2013. december 01. - 00:04:36 »
0 Show voters
Sziasztok. Lenne egy olyan problémám hogy inditottam egx full alap szervert a kocsik es a skinek bevan modolva. Viszont azt nem tudom hogy kell handlingelni. Pl. Beraktam a bulletra egy ferarit es ha lehivnak ok is egy bulletet ennyival menjen amit en beallitottam. Elõre köszönöm válaszotokat.

Nem elérhető Enigma

  • 391
    • Profil megtekintése
handling
« Válasz #1 Dátum: 2013. december 01. - 01:34:34 »
0 Show voters

Nem elérhető Ricsey

  • 259
    • Profil megtekintése
handling
« Válasz #2 Dátum: 2013. december 01. - 10:24:51 »
0 Show voters
Amit az elõttem író linkelt az nálam nem vált be hiába pakoltam a kocsi sebességére én kódot használok rá azzal mûködik
 
function speedup (thePlayer)
if (getElementModel(source) == 506) then
local handlingTable = getVehicleHandling (source)
local newVelocity = ( handlingTable[\"maxVelocity\"] + ( handlingTable[\"maxVelocity\"] / 200 * 50 ) )
setVehicleHandling ( source, \"numberOfGears\", 5 )
setVehicleHandling ( source, \"driveType\", \'awd\' )
setVehicleHandling ( source, \"maxVelocity\", newVelocity )
setVehicleHandling ( source, \"engineAcceleration\", handlingTable[\"engineAcceleration\"] +14 )
end
end
addEventHandler(\"onVehicleEnter\", root, speedup)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal