30.09.2009, 13:32
Quote:
Originally Posted by emuk
how do I put the message automatically in chat for all players?
for example every 5 minutes. |
At the top of your gamemode:
forward automsg();
under: OnGameModeInIt:
SetTimer("automsg", 300000, 1); // This timer is for 5 minutes. Replace 300000 with 60000 if you want 1 minute.
At the bottow of your gamemode:
public automsg()
{
SendClientMessageToAll(0x0FD9FA40, "PLACE YOUR TEXT HERE WHAT THEY NEED TO SEE");
}
and done!