Jump to content

مطلوب كود


Dr.Xen

Recommended Posts

  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

لأزم تلمس ماركر وتفتح شف وش سويت

GUIEditor = { 
    button = {}, 
    window = {}, 
    staticimage = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        GUIEditor.window[1] = guiCreateWindow(194, 129, 398, 314, "Police Center Control !", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetAlpha(GUIEditor.window[1], 1.00) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF2F4CFA") 
  
        GUIEditor.button[1] = guiCreateButton(10, 178, 115, 37, "Police Center", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "CC2650D7") 
        GUIEditor.button[2] = guiCreateButton(10, 235, 115, 37, "Parking Cars Police Center", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[2], "NormalTextColour", "CC72E813") 
        GUIEditor.button[3] = guiCreateButton(273, 235, 115, 37, "Prison Control", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "CCF0C80A") 
        GUIEditor.button[4] = guiCreateButton(273, 178, 115, 37, "Surface Police Center", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[4], "NormalTextColour", "CC16DEE6") 
        GUIEditor.staticimage[1] = guiCreateStaticImage(121, 20, 152, 152, "cinet.png", false, GUIEditor.window[1]) 
        GUIEditor.button[5] = guiCreateButton(286, 283, 102, 21, "Close", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[5], "NormalTextColour", "CCF23907")     
    end 
) 
            guiSetVisible (GUIEditor.window[1], false) 
        addEventHandler ("onClientMarkerHit", createMarker(214.72594,1906.00842,17.64063,"cylinder",2,255,0,0,255), 
    function ( hitPlayer ) 
        local mm = getPlayerTeam ( hitPlayer ) 
            if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "Police" then 
                guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) 
            end 
        end 
    ) 
     
     
  

Link to comment
GUIEditor = { 
    button = {}, 
    window = {}, 
    staticimage = {} 
} 
        GUIEditor.window[1] = guiCreateWindow(194, 129, 398, 314, "Police Center Control !", false) 
        guiWindowSetSizable(GUIEditor.window[1], false) 
        guiSetAlpha(GUIEditor.window[1], 1.00) 
        guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF2F4CFA") 
        GUIEditor.button[1] = guiCreateButton(10, 178, 115, 37, "Police Center", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[1], "NormalTextColour", "CC2650D7") 
        GUIEditor.button[2] = guiCreateButton(10, 235, 115, 37, "Parking Cars Police Center", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[2], "NormalTextColour", "CC72E813") 
        GUIEditor.button[3] = guiCreateButton(273, 235, 115, 37, "Prison Control", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[3], "NormalTextColour", "CCF0C80A") 
        GUIEditor.button[4] = guiCreateButton(273, 178, 115, 37, "Surface Police Center", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[4], "NormalTextColour", "CC16DEE6") 
        GUIEditor.staticimage[1] = guiCreateStaticImage(121, 20, 152, 152, "cinet.png", false, GUIEditor.window[1]) 
        GUIEditor.button[5] = guiCreateButton(286, 283, 102, 21, "Close", false, GUIEditor.window[1]) 
        guiSetProperty(GUIEditor.button[5], "NormalTextColour", "CCF23907")     
guiSetVisible (GUIEditor.window[1], false) 
createMarker(214.72594,1906.00842,17.64063,"cylinder",2,255,0,0,255) 
addEventHandler ("onClientMarkerHit",root, 
    function ( hitPlayer ) 
        local mm = getPlayerTeam ( hitPlayer ) 
            if getElementType ( hitPlayer ) == "player" and mm and getTeamName ( mm ) == "Police" then 
                guiSetVisible (GUIEditor.window[1], true) 
                showCursor (true) 
            end 
        end 
) 

Link to comment

اوك كفو ومشكور ,,

+

ابي لو ضطغت زر يغير مكان الكامير وتختفي الماؤوس ومااقدر احرك ولو كتبت كلمة ترجع الكاميرآ زي ما كانت

+

كيف اجيب إحداثيات الكاميرأآ؟!!

Link to comment
اوك كفو ومشكور ,,

+

ابي لو ضطغت زر يغير مكان الكامير وتختفي الماؤوس ومااقدر احرك ولو كتبت كلمة ترجع الكاميرآ زي ما كانت

+

كيف اجيب إحداثيات الكاميرأآ؟!!

الكاميرا استخدم

setCameraMatrix 

تختفي الماوس

showCursor 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...