Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: tuningv2
1. Tuningv2
Cze??, chce zrobi? tak w moim tuningu ?e gdy kto? ju? go ma wtedy no jakby powiedzie? then return end. Mam b??dy z ElementDat?.. Lecz nie wiem o co chodzi mam nadzieje ?e mi pomo?ecie :)

B??dy:
https://imgur.com/a/rBlgBzo

Skrypt Server: (Chyba to wystarczy po stronie clienta nie trzeba)

addEvent
("chiptune"true)
addEventHandler("chiptune"root, function()

pojazd getPedOccupiedVehicle(source)
if 
not pojazd then return end
if getElementData(veh"chiptuning"truethen return end
        takePlayerMoney
(source1500)
        
outputChatBox("Pomy?lnie Zamontowano tuning."source,true)
        
setElementData(veh,"chipek"true)
        
local set1 getVehicleHandling(veh)["maxVelocity"]
local set2 getVehicleHandling(veh)["engineAcceleration"]
local chipac set2 1.5
local chipmax 
set1 10


setVehicleHandling
(veh"maxVelocity"chipmax)
setVehicleHandling(veh"engineAcceleration"chipac)
end
)