Message every 5 minutes
#1

I need a system, which can write messages every ~5 minutes. Ads and etc..
Reply
#2

PHP код:
public OnGameModeInit()
{
    
SetTimer("Message",300000,true);

PHP код:
forward Message();
public 
Message()
{
SendClientMessageToAll(yourcolor,"The Message");
return 
1;

Reply
#3

Код:
ongamemodeinit:
SetTimer("minuteTimer",60000*5,true);

// Somewhere in your gamemode
forward minuteTimer();
public minuteTimer()
{
      SendClientMessageToAll(color,"some text");
      return 1;
}
Shit to late
Reply
#4

Thanks everyone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)