Auto Messages? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Auto Messages? (
/showthread.php?tid=169536)
Auto Messages? -
Luis- - 19.08.2010
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
Re: Auto Messages? -
willsuckformoney - 20.08.2010
Random Messages - Same as Auto Messages Click Mees!
Re: Auto Messages? -
Luis- - 20.08.2010
Quote:
Originally Posted by willsuckformoney
|
Link not working?
Re: Auto Messages? -
willsuckformoney - 20.08.2010
sorry, noaw click it
Re: Auto Messages? -
lolumadd - 20.08.2010
https://sampwiki.blast.hk/wiki/Random_Messages
Re: Auto Messages? -
Mike Garber - 20.08.2010
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".