-- c-side
addEventHandler("onClientMarkerHit", root,
function()
if source == marker then
guiSetVisible(okno,true)
showCursor(true)
triggerServerEvent("pokaz", source, source)
end
end)
-- s-side
addEvent("pokaz", true)
addEventHandler("pokaz", root,
function(plr)
if source == marker then
if getElementType( thePlayer ) == "player" then
if isObjectInACLGroup("user."..accName, aclGetGroup("SAMC")) then
if guiGetVisible(okno)==false then
guiSetVisible(okno, true)
showCursor(true)
end
end
end
end
end)