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: pojeżdzie
1. Napis na pojeżdzie
Mam ju? taki kod z opisem

local auto1 createVehicle 4071919.80066619.1747411.30033 ) --- FireTruck #1 PSP 21
setElementRotation auto1000)
setElementFrozen auto1false )
setVehicleLocked auto1false )
setVehicleColor auto125500)
addVehicleUpgrade auto11025 )
setElementData(auto1"pojazd_opis""PSP 375[SF]21")


i mam vopis

 addCommandHandler("vopis", function(plrcmd, ...)
        
local opis table.concat(arg" ")
        if (
string.len(opis)<3then
            outputChatBox
("U?yj: /vopis <opis>, lub /vopis usun"plr)
            return
        
end
    
        local auto1 
getPedOccupiedVehicle(plr)
    
        if (
not auto1then
            outputChatBox
("Musisz by? w poje?dzie w kt?rym chcesz zmieni? opis."plr25500)
            return
        
end
    
        
if (opis=="usun" or opis=="USUN"then
            removeElementData
(auto1"pojazd_opis")
        else
            
setElementData(auto1"pojazd_opis"opis)
        
end
end
)


I nie wiem dlaczego nie pojawia si? opis na pojezdzie :'(