04.06.2014, 10:07
pawn Код:
// Somewhere at your script:
forward RandomMessage(); // Or whatever name you want.
// Under OnGameModeInit:
SetTimer("RandomMessage",120000,1); // Change the timer according to what you prefer.
//Any place you like:
public RandomMessage()
{
new mrand =random(1); // Change the number according to the number of messages you're going to send
if(mrand == 1)
{
SendClientMessageToAll(0xFFF000AA,"Visit our forums at: put forum here etc");
}
}