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: każdemu.
1. outputchatbox wyświetla się każdemu.
Witam mam problem z prac? po stronie serwera mianowicie pr?buje zrobi? prac? polegaj?c? na za?adowaniu dostawczka, po czym mo?emy wywie?? towar.
Z grupsza ow? prac? napisa?em lecz mam problem z outputchatboxem oraz funkcjami niekt?rymi, gdy? wykonuj? one si? ka?demu graczowi, kt?ry posiada rozpocz?t? prac?.
Kod:
[lua]

--------------------------WYWOZ KONOPII


local marker1 = {}
local marker2 = {}
local marker3 = {}
local marker4 = {}
local marker5 = {}
local marker6 = {}
local marker7 = {}
local marker8 = {}
local marker9 = {}
local marker10 = {}
local pojazd = {}
local marker_praca = {}
local blip_praca = {}

addEvent("RozpocznijWywoz",true)
addEventHandler("RozpocznijWywoz",root,function()
--[[ if getElementData (source, "rozpoczeta") == true then return end
if getElementData (source, "oddaj") == true then return end
if getElementData (source, "nadruga") == true then return end
if getElementData (source, "natrzecia") == true then return end
if getElementData (source, "oddajdwa") == true then return end
if getElementData (source, "oddajtrzy") == true then return end
if getElementData (source, "oddalall") == true then return end
if getElementData (source, "dojazdlegalna") == true then return end
if getElementData (source, "dojazdnielegalna") == true then return end
]]...