خطأك هنا 
 
التصحيح 
if ( level >= 0 ) then 
 
انت الخطأ وهو الصح 
لأن انت مسوي 
>= يعني اكبر من او يساوي 
اما هو 
متحقق انه اكبر من صفر 
ويقدر يسويها كذا 
 
if level ~= 0 then 
 
الكود  
Server Side 
 
local marker = createMarker(x, y, z-1, "cylinder", 1.5, 255, 0, 0, 150) 
  
addEventHandler("onMarkerHit", resourceRoot, function(Hit) 
    if source == marker then 
          if getElementType(Hit) == "player" then 
            if getPlayerWantedLevel(Hit) ~= 0 then 
                -- Code 
            else 
                outputChatBox("لديك نجوم ...", Hit, 255, 0, 0) 
            end 
        end 
    end 
end)