[Ajuda] Como fazer um contado de segundos para minutos?
#2

Cabe vocк fazer as adaptaзхes que vocк deseja.

PHP код:
//Variбvel global para contar o tempo
new playerReleaseCountdown[MAX_PLAYERS];
//Chamado quando o jogador for enviado а prisгo
new time min 60000;
SetTimerEx("ReleasePlayer"timefalse"i"targetid);
playerReleaseCountdown[targetid] = GetTickCount() + time;
//No comando para comparar
new timeRemainder = (GetTickCount() - playerReleaseCountdown[playerid]) * 60000;
new 
string[128];
format(stringsizeof string"PRESOS: %s [HQ PM]: 60 Seg.(Aprox.: %02d Minutos)"FuncaoDeObterNome(playeird), timeRemainder); 
Reply


Messages In This Thread
Como fazer um contado de segundos para minutos? - by ScripterInicianteBR - 29.07.2015, 07:40
Re: Como fazer um contado de segundos para minutos? - by Lуs - 29.07.2015, 07:54

Forum Jump:


Users browsing this thread: 1 Guest(s)