[Ajuda] Timer
#3

Код:
//global
new auto_ptimer[MAX_PLAYERS];

//colocar onde comeзa a contagem
auto_ptimer[playerid] = SetTimerEx("VerificarResposta", 40 * 1000, false, "i", playerid);

//qualquer lugar no gm (fora de funзхes)
forward VerificarResposta(playerid);
public VerificarResposta(playerid)
{
	SendClientMessage(playerid, -1, "Vocк nгo respondeu em 40s");
	return true;
}
Reply


Messages In This Thread
Timer - by FabioGTP - 19.03.2018, 19:41
Re: Timer - by YCharlieY - 19.03.2018, 20:17
Re: Timer - by F1N4L - 19.03.2018, 20:21
Re: Timer - by FabioGTP - 19.03.2018, 20:42
Re: Timer - by F1N4L - 19.03.2018, 21:01
Re: Timer - by FabioGTP - 19.03.2018, 21:16
Re: Timer - by Felipealves - 20.03.2018, 10:27

Forum Jump:


Users browsing this thread: 1 Guest(s)