08.11.2010, 18:53
pawn Код:
//Top of your script
new infotimer;
new InfoMessage;
forward Information();
//Put this under OnGameModeInit
infotimer = SetTimer("Information", 1800000, true);
//Put this under OnGameModeExit
KillTimer(infotimer);
//Put this somewhere in your script
public Information()
{
switch(InfoMessage){
case 0:
{
SendClientMessageToAll(color, "Saw cheater type /report id reason ");
InfoMessage = 1;
}
case 1:
{
SendClientMessageToAll(color, "");
InfoMessage = 2;
}
case 2:
{
SendClientMessageToAll(color, "");
InfoMessage = 3;
}
case 3:
{
SendClientMessageToAll(color, "");
InfoMessage = 4;
}
case 4:
{
SendClientMessageToAll(color, "");
InfoMessage = 5;
}
case 5:
{
SendClientMessageToAll(your color, "");
InfoMessage = 6;
}
case 6:
{
SendClientMessageToAll(your color, "");
InfoMessage = 7;
}
}
return 1;
}