zainstalowalem paczke navaxa rpg 2.0 i caly czas robi mi konta z tym samym sidem,konta dla kolegow musze robic reczenie abysmy nie mieli wspolnych majatkow
Mam problem poniewa? po kliknienciu rozpocznij prace nic sie nie dziej
Client
[lua]addEventHandler("onClientGUIClick", root, function(btn,state)
if source == PracaBusLs.submit then
showCursor(false)
guiSetVisible(PracaBusLs.window, false)
guiSetVisible(PracaBusLs.submit, false)
guiSetVisible(PracaBusLs.close, false)
guiSetVisible(PracaBusLs.text, false)
removeEventHandler("onClientRender",root,pracabusls)
triggerServerEvent("PracaStartBusLs", root,localPlayer)
end
if source == PracaBusLs.close then
if guiGetVisible(PracaBusLs.window) == true then
showCursor(false)
guiSetVisible(PracaBusLs.window, false)
guiSetVisible(PracaBusLs.submit, false)
guiSetVisible(PracaBusLs.close, false)
guiSetVisible(PracaBusLs.text, false)
removeEventHandler("onClientRender",root,pracabusls)
end
end
end)[/lua]
Server
[lua]addEvent("PracaStartBusLs", true)
addEventHandler("PracaStartBusLs", resourceRoot, function(el, md)
if #getElementsWithinColShape(zone,"vehicle") >= 1 then outputChatBox("Parking zajety",el) return end
if getElementData(el,"player:license:pjC") ~= 1 then
outputChatBox("Nie posiadasz Prawojazdy kategori C", source)
return
end
if not md or getElementType(el) ~= "player" or getPedOccupiedVehicle(el) then return end
Witam, dzisiaj mam taki ma?y problem z serwerem DAYZ na MTA, a mianowicie
moja posta? na serwie domowym robi t? sam? czynno?? kilka razy przyk?adowo pije ca?y czas i nie chce przesta? jak daje sobie medikita to tak samo
ps:Je?li w z?ym dziale napisa?em to prosz? moderatora o przeniesienie do poprawnego