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: ¶miga
1. MYSQL co¶ nie ¶miga
Kod nie trybi a ju? tyle g??wkowa?em
W mysql kolumna stworzona.
W debugu "attempt to perform arithmetic on a boolean value"
Cz??? kodu odpowiedzialna za b??d i wywala w miejscu:
maryha = tonumber(getElementData(gracz, "marihuana"))
-------------------------------------------------------


addEventHandler("onMarkerHit", getRootElement(), function(el,md)
if source == rozpraca then

if getElementType(el) == "vehicle" then return end
if getPedOccupiedVehicle(el) then return end
if getElementData(el,"player:job") then
triggerClientEvent(el, "createNotif",el,"Zako?„czono prac?™ zbierania marihuany!",3,"success")
removeElementData(el, "player:job")
triggerClientEvent(el, "usunmarkery",el,md)
toggleControl(el,"enter_exit", true)
else
if getElementData(el, "marihuana") == 30 then
triggerClientEvent(el, "createNotif",el,"Posiadasz limit marihuany przy sobie!n(30 g)",3,"error")
return
end

outputChatBox("Rozpocz?…?‚e?› prac?™ zbieracza marihuany aby j?… zako?„czy?‡ ponownie wejdĆș w marker.",el, 255,0,0)
outputChatBox("Pami?™taj, Ć„e to nielegalna praca i policja moĆ„e Ci?™ z?‚apa?‡ w kaĆ„dej chwili!",el, 255,0,0)
outputChatBox("Aby sprzeda?‡ marihuane, ...