Witam, gdy zmienilem kwote zaplaty w "Pracy lekarza" z GTAO, to otrzymuje ten error;
[code][2018-02-10 09:01:35] SCRIPT ERROR: [prace]/Pracalekarza/s.lua:33: name> or '...' expected near '50000'
[2018-02-10 09:01:35] ERROR: Loading script failed: [prace]/Pracalekarza/s.lua:33: name> or '...' expected near '50000'[/code]
Moglby mi to ktos poprawic i powiedziec o co z Tym chodzi? Z gory dzieki.
function t(he)
if getElementType(he) == "player" then
if getElementData(he, "lekarz") then
triggerClientEvent(he, "o?pen", he)
end
end
end
addEventHandler("onMarkerHit",start, t)
function t2(he)
if getElementType(he) == "player" then
triggerClientEvent(he, "klose", he)
end
end
addEventHandler("onMarkerLeave",start, t2)
addEvent("forsa",true)
addEventHandler("forsa", root,function(50000))
if not tonumber(kwota) then return end
givePlayerMoney(source, 50000)
end)[/l...
Cze?? , mam hud z easy life ale jedna rzecz kt?ra mi nie pasuje to jest to ?e pokazuje sie hud z normalnego gta sa Tu jest screenshot : https://imgur.com/a/JLlgi
Jak sprawdzic czy jakis gracz jest obok mnie tak do 5 metrow, ale chodzi mi aby sprawdzalo czy jakis gracz bo jak robie na petle dla all graczy to mnie tez tam wsadza a chce aby mnie nie bylo bo robie ze jak gracze sa obok mnie to daje im po minigunie Wiec prosze o odpowiedz.