Auto Message - 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 Message (
/showthread.php?tid=42015)
Auto Message -
nIceCube - 02.07.2008
I want a automessage for my mod.I want auto /help message.Please help me
Re: Auto Message -
]BSC[freddy - 02.07.2008
can you explain more?? I dont really know what you want^^
Re: Auto Message -
[MW]JuGGz - 02.07.2008
top of script
under OnGameModeInit()
Quote:
SetTimer("Helpmsg",320000,1);
|
anywhere on script
Quote:
public Helpmsg()
{
SendClientMessageToAll(0x0FFFFFFAA,"New to the server? Type /help for more information.");
}
|
Re: Auto Message -
Pro[D]_d_b - 12.04.2009
ty Juggz
Re: Auto Message -
illay - 12.04.2009
SetTimer("Cycle",10000 /*10 seconds*/,true);
forward Cycle();
public Cycle() {
/* Message code */
return 1;
}
/* end */