[Ajuda] Criaзгo de SetTimer.
#9

Correзгo:


Quote:

// Topo
new CorreMano;
new bool: CorreMan;
// OnGameModeInit
CorreMano = SetTimer("CorreManoFunc", 30000, true); // 30 Segundos
// OnDialogResponse
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2)
{
if(response)
{
CorreMan = true
printf("%d", CorreMan);
}
return true;
//
forward CorreManoFunc(playerid);
public CorreManoFunc(playerid)
{
if(CorreMan)
{
SendClientMessage(playerid, -1, "VOCК NГO CHEGOU NO CARRO A TEMPO");
SpawnPlayer(playerid);
return true;
}
}

Reply


Messages In This Thread
Criaзгo de SetTimer. - by Mr_Taxi - 27.11.2012, 22:01
Re: Criaзгo de SetTimer. - by Rodney Francalim - 27.11.2012, 22:03
Re: Criaзгo de SetTimer. - by Mr_Taxi - 27.11.2012, 22:34
Re: Criaзгo de SetTimer. - by Schocc - 27.11.2012, 22:55
Re: Criaзгo de SetTimer. - by ViniBorn - 28.11.2012, 11:05
Re: Criaзгo de SetTimer. - by Mr_Taxi - 28.11.2012, 14:58
Re: Criaзгo de SetTimer. - by Maklister - 28.11.2012, 16:23
Re: Criaзгo de SetTimer. - by Mr_Taxi - 28.11.2012, 19:22
Re: Criaзгo de SetTimer. - by Designer Vibe02 - 28.11.2012, 21:23
Re: Criaзгo de SetTimer. - by ViniBorn - 28.11.2012, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)