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: anulowaniu
1. brak usuwania ped z pojazdu po anulowaniu kursu
mo?e ?le robi? kod prosz? o naprowadzenie mnie
[code] addEvent("wwynikilvl", true)
addEventHandler("wwynikilvl", root, function(id)
local uid=getElementData(source,"player:uid")
if not uid then return end
local result=exports["db"]:dbGet("SELECT * FROM taxo_kursy WHERE lvl=? LIMIT 25;", id)
if #result > 0 then
triggerClientEvent(client, "wyniki", root, result)
end
end)


addEvent("sprawdzamy", true)
addEventHandler("sprawdzamy", root, function(id)
local uid=getElementData(source,"player:uid")
if not uid then return end
local veh = getPedOccupiedVehicle(source)
local color1, color2, color3 = getVehicleColor (veh, true)
if color1 == 255 and color2 == 255 and color3 == 0 then
triggerClientEvent(client, "sprawdzono", root)
elseif color1 == 255 and color2 == 0 and color3 == 99 then
triggerClientEvent(client, "sprawdzono", root)
elseif color1 == 215 and color2 == 142 and color3 == 16 then
triggerClientEvent(client, "sprawdzono", root)

else
outputChatBox("#629ec6Ⓘ #e7d9b0Tw?j pojazd posiada niew?a?ciwy kolor aby podj?? zlecenie.",source,255,255,0,true) return end
end)


addEvent("taxujemy", true)
addEventHandler("taxujemy", root, function(id,mamona)
local uid=getElementData(source,"player:uid")
if not uid then return ...