Send a message after given period of time
#2

You have to create that for your own:

PHP код:
//In OnGameModeInit
SetTimer("SendServerMessage"1000*60*50); //Sends after 5min a Message to the server
//Outside any function
forward SendServerMessage();
public 
SendServerMessage()
{
    
SendClientMessageToAll(-1"* This is a Message, sent after 5min of the Server start!");
    return 
1

You can look up in the wiki the specific functions and change that, to whatever you want
Reply


Messages In This Thread
Send a message after given period of time - by xenocideniki - 13.03.2019, 15:58
Re: Send a message after given period of time - by Kaliber - 13.03.2019, 16:01
Re: Send a message after given period of time - by xenocideniki - 13.03.2019, 16:12
Re: Send a message after given period of time - by feartonyb - 13.03.2019, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)