Jump to content

ططلبِ كودَ :)


Recommended Posts

getPlayerName(thePlayer) ????????

---سيرفر  
function open() 
    if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then---Admin اسم القروب  
        triggerClientEvent(source,"openVIP",source) 
    end 
end 
addEvent("onOpen",true) 
addEventHandler("onOpen",getRootElement(),open) 

---كلنت  
function open() 
    triggerServerEvent("onOpen",getLocalPlayer()) 
end 
bindKey("F4","down",open) 
  
function vip() 
    if guiGetVisible(GUIEditor_Window[1]) then---GUIEditor_Window[1] اسم النافذه 
        guiSetVisible(GUIEditor_Window[1],false)---GUIEditor_Window[1] اسم النافذه 
        showCursor(false) 
        guiSetInputEnabled(false) 
    else 
        guiSetVisible(GUIEditor_Window[1],true)---GUIEditor_Window[1] اسم النافذه 
        showCursor(true) 
        guiSetInputEnabled(true) 
    end 
end 
addEvent("openVIP",true) 
addEventHandler("openVIP",getRootElement(),vip) 

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...