s-side
marker = createMarker ( -1583.4246, 372, 6.18, "cylinder" ,1)
function panel (he)
if getElementType( he ) == "player" then
if isObjectInACLGroup( 'user.'..getAccountName( getPlayerAccount( he ) ), aclGetGroup( 'Policja' ) ) then
triggerClientEvent (he,"panel", he)
end
end
end
addEventHandler ( "onMarkerHit", marker, panel )
c-side
function pokaz ()
showCursor (true)
guiSetVisible (okno1,true)
end
addEvent("panel",true)
addEventHandler("panel",root,pokaz)