# Client Side 
 
marker = createMarker( 952.96497, -910.00677, 44.76563, "cylinder", 1.5, 255, 0, 0) 
  
Oknotaxi = guiCreateWindow(0.29, 0.24, 0.42, 0.49, "وظيفة المجرم By:RsmTk7lm", true) 
guiSetVisible(Oknotaxi, false) 
Pakceptuj = guiCreateMemo(0.08, 0.20, 0.41, 0.67, "", false, Oknotaxi) 
Pakceptuj = guiCreateButton(0.60, 0.20, 0.34, 0.17, "اضغط هنا للتوضيف", true, Oknotaxi) 
guiSetFont(GUIEditor.button[1], "sa-header") 
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") 
addEventHandler("onClientGUIClick", Pakceptuj, Dolacz, false)       
GUIEditor.memo[1] = guiCreateMemo(0.08, 0.20, 0.41, 0.67, "تنبيه ادا قتلت المجرمين كثير سوف تحصل على رتبت [King] وشكرا", true, Oknotaxi) 
  
  
addEventHandler("onClientMarkerHit",marker, 
function (player) 
    if (getElementType (player) == "player") and (player == localPlayer)  then 
    showCursor(true) 
    guiSetVisible(Oknotaxi,true) 
    end 
  end 
) 
  
addEventHandler("onClientMarkerLeave",marker, 
function (player) 
    if (getElementType (player) == "player") and (player == localPlayer)  then 
    showCursor(false) 
    guiSetVisible(Oknotaxi,false) 
    end 
  end 
) 
  
addEventHandler( "onClientResourceStart", getRootElement( ), 
    function ( startedRes ) 
        createBlipAttachedTo( praca, 43); 
    end 
); 
  
function zamknij() 
if source == Pakceptuj then 
guiSetVisible (Oknotaxi, false) 
showCursor (false) 
end 
end 
addEventHandler ("onClientGUIClick", root, zamknij) 
  
function Dolacz() 
    triggerServerEvent("sTeame", localPlayer, "teamSet") 
end 
)