عليكم السلام
Team = 'Team Name'
Mark = {
{x,y,z}
}
for k,v in ipairs (Mark) do
z = v[3] -1
Marker = createMarker ( v[1], v[2], z, "cylinder", 1.5, 255, 255, 255, 255 )
addEventHandler('onClientMarkerHit', Marker,
function ( hitPlayer )
if ( hitPlayer == localPlayer and getPlayerTeam ( hitPlayer ) and getTeamName ( getPlayerTeam ( hitPlayer ) ) == Team and guiGetVisible ( GUIEditor.window[1] ) == false ) then
guiSetVisible (GUIEditor.window[1], true )
showCursor( true )
end
end
)
end