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: ładwowanie
1. Ładwowanie tesli
Witam ot?? chcia? bym si? dowiedzie? jak zrobi? stacje ?adowania tesli bo bym chcia? zrobi? co? w tym stylu

local mech 
= createMarker(x,y,z,"cylinder",2,255,255,255)

addEventHandler( "onMarkerHit",mech, 
function (
el,md)    
if 
not isPedInVehicle (el ) then 
return outputChatBox("*Wsi?d? do pojazdu!", el) 
end 
local veh 
= getPedOccupiedVehicle(el)
local id = getElementModel ( veh) 
if 
id == 507 then 
setElementData
(veh,"vehicle:fuel", 100) 
end
end
)


Ale nie wiem jak zrobi? by nie da?o si? wsiada do pojazdu gdy on jest ?adowany