GUYS HELP ME SO SIMPLE - 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: GUYS HELP ME SO SIMPLE (
/showthread.php?tid=247492)
GUYS HELP ME SO SIMPLE -
Bilawal2050 - 09.04.2011
okey guys any one help me how i use clearchat cmd its mean when the gm change the all chat will clear and send to client msgs
the tw loading new mission
Re: GUYS HELP ME SO SIMPLE -
Shelby - 09.04.2011
pawn Код:
for(new i=0; i<100; i++)//100 = amount of lines
{
SendClientMessageToAll(COLOR, " ");
}
SendClientMessageToAll(COLOR, "Starting new mission...");
Re: GUYS HELP ME SO SIMPLE -
Bilawal2050 - 09.04.2011
is this remove the chat
Re: GUYS HELP ME SO SIMPLE -
Shelby - 09.04.2011
Yes, it will clear all the chat and send the message "Starting new mission..." to all players.
Re: GUYS HELP ME SO SIMPLE -
Bilawal2050 - 09.04.2011
hihihi its not work
Re: GUYS HELP ME SO SIMPLE -
Shelby - 09.04.2011
An example of use:
pawn Код:
if(strcmp(cmd, "/clearchat", true) == 0)
{
for(new i=0; i<100; i++)
{
SendClientMessageToAll(0x8B4513AA, " ");
}
SendClientMessageToAll(0x8B4513AA, "Starting new mission...");
return 1;
}