03.10.2012, 12:30
I need a system, which can write messages every ~5 minutes. Ads and etc..
public OnGameModeInit()
{
SetTimer("Message",300000,true);
}
forward Message();
public Message()
{
SendClientMessageToAll(yourcolor,"The Message");
return 1;
}
ongamemodeinit: SetTimer("minuteTimer",60000*5,true); // Somewhere in your gamemode forward minuteTimer(); public minuteTimer() { SendClientMessageToAll(color,"some text"); return 1; }