17.09.2011, 23:05
pawn Код:
public RodapeTimer()
{
new PlayersOn, string[125], hour, minute, second;
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(!IsPlayerConnected(i)) continue;
PlayersOn++;
}
gettime(hour,minute,second);
format(string, sizeof string, "~w~[SoD] ~r~Society Of Drifiters ~w~(%d/%d) ~r~Players http://~w~www.equipe-sod.blogspot.com /ajuda ~r~Horario: ~w~%d:%d:%d", PlayersOn, GetMaxPlayers(), hour, minute, second);
TextDrawSetString(Rodape, string);
TextDrawShowForAll(Rodape);
return 1;
}