Jump to content

/updates help


Price.

Recommended Posts

Posted

guys i'am not good at this stuff but i need to make /updates command gets me a gui or whatever tells me the server updates and 2 ACL groups are allowed to edit the updates so will you please tell me how?

Posted

i already know this but i cant really make it..

all i could make is this

if accountname then  
        aclGroupAddObject (aclGetGroup("admin"), "user.")) 
        if accountname then  
        aclGroupAddObject (aclGetGroup("admin"), "user.")) 
        UpdatesMain = {} 
GUIEditor = { 
    scrollbar = {} 
} 
Updates = {} 
Close = {} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        UpdatesMain.window = guiCreateWindow(265, 82, 726, 551, "Updates", false) 
        guiWindowSetSizable(UpdatesMain.window, false) 
  
        Close.button = guiCreateButton(540, 465, 150, 70, "Close", false, UpdatesMain.window) 
        Updates.memo = guiCreateMemo(9, 64, 707, 381, "", false, UpdatesMain.window) 
        GUIEditor.scrollbar[1] = guiCreateScrollBar(693, 74, 23, 375, true, false, UpdatesMain.window)     
    end 
) 
function updates(theplayer, command, console) 
outputChatBox("Failed to Open Updates") 
end 
addCommandHandler("update",updates) 
         

Posted

This make no sense.

You know why i post the wiki link? because it would be a waste of time to Imagine which functions will be used and list them to you because i know you can't script.

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