Jump to content

help please with a script


Guest phantom01

Recommended Posts

hello, i want to ask u guys who know how to script a few things, a few commands

1. temp ban

2. restart scripts, like every "x" hours

3. admin chat, chat only for admins to use...so other players cant see

thx :wink:

Link to comment

2. add this to the resource you want to restart after X hours:

addEventHandler( "onResourceStart", getResourceRootElement( getThisResource() ),  
    function() 
        setTimer( restartResource, 4*3600000, 1, getThisResource ) -- change 4 to how many hours you want to restart the resource 
    end 
) 

3. I think you have got admin chat in admin resource. Just open the panel (press p) and choose Admin Chat tab, you should be able to chat with other admins using that tab.

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