Jump to content

i need help


golanu21

Recommended Posts

Well, now you'll need to use the event onPlayerChat. It gets triggered when someone types something in the chat, there you should check if the player has been in the server less than 5 hours, if he does, you should do a for loop or whatever you want to find out the list of other players that also played for less than 5 hours and output the message ONLY for them - otherwise, output it to everybody ( simply do nothing ). You'll also need cancelEvent function to stop the message from being outputted for everybody if the guy played for less than 5 hours, otherwise it will output for everybody and for the ones who played less than 5 hours.

Anyway, if you don't know LUA, even if this is too basic, you might not be able to start it, if you really don't know LUA, you can start here: viewtopic.php?f=148&t=40809

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