Wysłany: 2018-07-11, 20:52
EZPZ2003KoZaK32
Wiek: 47 Na forum: 3150 dni Posty: 1
Nick w MP: KoZaK321
Witam Jak Zrobi? Handling na kom?de? Mo?e Ma Kto? Podes?a? Gotowy Skrypt.
Za Wszelk? Pomoc Dzi?kuje.
Wysłany: 2018-07-11, 21:40
Kalizman
Wiek: 23 Na forum: 3651 dni Posty: 1394
Piwa : 4619
Dwie bardzo proste komendy potrzebne do szcz??cia.
Wysłany: 2018-07-11, 21:44
Allansso
Wiek: 24 Na forum: 3938 dni Posty: 386
Piwa : 1537
function handling ( gracz , cmd )
pojazd = getPedOccupiedVehicle ( gracz )
if pojazd then
local velocity = 260.0 -- ( Predkosc maksymalna )
local acceleration = 20.0 -- ( Przyspieszenie )
local slock = 38.0 -- ( Promien )
local trac = 0.8 -- ( Przyczepno ??)
setVehicleHandling ( pojazd , "tractionMultiplier" , trac )
setVehicleHandling ( pojazd , "steeringLock" , slock )
setVehicleHandling ( pojazd , "maxVelocity" , velocity )
setVehicleHandling ( pojazd , "engineAcceleration" , acceleration )
end
end
addCommandHandler ( " komenda" , handling )
Wysłany: 2018-07-15, 21:11
Norbert1234
Nie umiem w LUA
Wiek: 22 Na forum: 3987 dni Posty: 319
Nick w MP: Gusterowskyy
Piwa : 242
function handling ( gracz , cmd )
local konto = getAccountName ( getPlayerAccount ( gracz ))
if isObjectInACLGroup ( "user." .. konto , aclGetGroup ( "Admin" )) then
pojazd = getPedOccupiedVehicle ( gracz )
if pojazd then
local velocity = 240 -- ( Predkosc maksymalna )
local acceleration = 100 -- ( Przyspieszenie )
local slock = 30.0 -- ( Promien )
local trac = 1 -- ( Przyczepno ??)
setVehicleHandling ( pojazd , "tractionMultiplier" , trac )
setVehicleHandling ( pojazd , "steeringLock" , slock )
setVehicleHandling ( pojazd , "maxVelocity" , velocity )
setVehicleHandling ( pojazd , "engineAcceleration" , acceleration )
end
else return end
end
addCommandHandler ( "TwojaKomenda" , handling )
Prosz?, nawet pod ALC Ci da?em
Ostatnio zmieniony przez Atroth 2018-07-17, 11:27, w całości zmieniany 1 raz
Tagi: handling :: komende
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: