30.09.2012, 05:10
i made autorestart for server and now i want to add GameTextForall 1 or 2 minutes before server restart so players will know when server will restar and btw timer is set to 12 hours, someone help me? giving +Rep
forward timer();//forward the function
gamemodeint//under gamemint
SetTimer("timer", 10080000,true);//public a timer on the forward timer for 11:58 from when the gamemode started,or restarted when that time iz up the info inside th public would be sent
public timer()//fowarding the foward
{
GameTextForAll("Server Restarting In 2 minutes",30000,0);// display text for 30 seconds
return 1;
}
C:\Users\Beljulji\Documents\Samp Server\gamemodes\UltimateStunt.pwn(7062) : error 017: undefined symbol "GameTextForAllPlayers" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
GameTextForAll("~b~Server Will Restart Soon",7000,0);
forward timer();//forward the function
public Ongamemodeint
SetTimer("timer", 10080000,true);
public timer() //fowarding the foward
{
GameTextForAll("Server Restarting In 2 minutes",30000,0);// with some changes
return 1;
}