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

Na public eu coloco o que vai acontecer quando o tempo acabar ?

Veja como ficou aqui:

pawn Код:
new CorreNego;

    SetTimer("CorreNego", 30000, true);


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 2)
    {
        if(response)
        {
            CorreNego = true
            printf("%d", CorreNego);
        }
        return true;
    }
    return true;
}

forward CorreNeguin(playerid);
public CorreNeguin(playerid)
{
    SendClientMessage(playerid, -1, "VOCК NГO CHEGOU NO CARRO A TEMPO");
    SpawnPlayer(playerid);
    return true;
}
Usei a tйcnica do printf pra ver se ia funfar certin e nгo funciona, no console sу aparece quando o valor й 1 e dps para :/
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: 3 Guest(s)