Auto Messages?
#1

Hello, I have made an Auto Message system but it kinda does work and doesn't work...
The messages come to fast.

pawn Code:
forward msgs();
forward msgs1();
forward msgs2();

SetTimer("msgs", 30000, true);
SetTimer("msgs1", 60000, true);
SetTimer("msgs2", 90000, true);

public msgs()
{
    SendClientMessageToAll(COLOR_YELLOW, "[INFO] Welcome to LSRP, Remember to use /help!");
    return 1;
}

public msgs1()
{
    SendClientMessageToAll(COLOR_YELLOW, "[INFO] Take a look at the rules by tping /rules");
    return 1;
}

public msgs2()
{
    SendClientMessageToAll(COLOR_YELLOW, "[INFO] Vist us at www.lsrp.comule.com");
    return 1;
}
Thanks in advance
Reply
#2

Random Messages - Same as Auto Messages Click Mees!
Reply
#3

Quote:
Originally Posted by willsuckformoney
View Post
Link not working?
Reply
#4

sorry, noaw click it
Reply
#5

https://sampwiki.blast.hk/wiki/Random_Messages
Reply
#6

Ofcourse they are coming too fast...

pawn Code:
SetTimer("msgs", 30000, true);
SetTimer("msgs1", 60000, true);
SetTimer("msgs2", 90000, true);
That will cause "msgs" to appear after 30 seconds.. Then It repeats, which means msgs & msgs1 will come at the same time again.
Then msgs & msgs2 will come at the same time again.
Then msgs will come 10 seconds after msgs2 again.

xD
Set "msgs2" in timer "msgs", and "msgs3" in timer "msgs2", "msgs" in timer "msgs3".
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)