more help with gRoundTimer
#5

maybe try it with a bit mathe, you have the seconds how to get the minutes
pawn Код:
forward lol();
public lol()
{
    new string[128];
    new Time = gRoundTime / 1000;
    new Minutes = Time / 60;
    new Seconds = Time - Minutes * 60;
    format(string, sizeof(string), "There is currently %d:%d left in the round ", Minutes, Seconds);
    for(new i = 0, m = GetMaxPlayers(); i < m; i++) if(IsPlayerConnected(i)) SendClientMessage(i, LIGHTGREEN, string);
}
Reply


Messages In This Thread
more help with gRoundTimer - by whooper - 06.09.2008, 19:50
Re: more help with gRoundTimer - by whooper - 06.09.2008, 20:00
Re: more help with gRoundTimer - by ғαιιοцт - 06.09.2008, 20:04
Re: more help with gRoundTimer - by whooper - 06.09.2008, 20:06
Re: more help with gRoundTimer - by Nero_3D - 06.09.2008, 20:07
Re: more help with gRoundTimer - by ғαιιοцт - 06.09.2008, 20:11
Re: more help with gRoundTimer - by whooper - 06.09.2008, 20:37
Re: more help with gRoundTimer - by ғαιιοцт - 06.09.2008, 20:42
Re: more help with gRoundTimer - by whooper - 06.09.2008, 20:45
Re: more help with gRoundTimer - by ғαιιοцт - 06.09.2008, 20:47

Forum Jump:


Users browsing this thread: 3 Guest(s)