Jump to content

Recommended Posts

is there any way to make a script like a default "/refresh" command with listing out what is the new resource which is loaded or failed?

like this:

addCommandHandler("refreshres",function(player)
    if tonumber(getElementData(player, "admin")) >= 5 then
        refreshResources(true)
        outputChatBox("Loaded new resource(s):",player)
        outputChatBox(newResources,player)
    end
end)

 

Edited by TheMOG
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...