Jump to content

i need help


golanu21

Recommended Posts

Posted

What are you talking about? Explain it breefly.

And we aren't going to give you any code, we'll only help you fixing errors that you might be having or give you a little help with what functions you should use to start.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted

"A chat for newbie" - and what does that mean? Nobody understands what is a "chat for newbies", you must explain what do you want to do.

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted

Do you already have anything that counts the time players play in the server?

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

Posted

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

"[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007

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