help message automatically
#4

Quote:
Originally Posted by agusfn20
Quote:
Originally Posted by eparea51
Quote:
Originally Posted by emuk
how do I put the message automatically in chat for all players?
for example every 5 minutes.
Here you go:

At the top of your gamemode:

forward automsg();
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!
The timer goes under OnGameModeInit
edited ^^ stupid me ^^
Reply


Messages In This Thread
help message automatically - by emuk - 31.07.2009, 07:17
Re: help message automatically - by eparea51 - 30.09.2009, 13:32
Re: help message automatically - by agusfn20 - 30.09.2009, 13:36
Re: help message automatically - by eparea51 - 30.09.2009, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)