[Ajuda] Erro com SetTimer
#2

Tem que usar um identificador.


pawn Код:
new Timer;

public OnPlayerConnect(playerid)
{

    Timer = SetTimerEx("FuncaoA_Chamar", 1000, true, "i", playerid);
    return 1;
}


public FuncaoA_Chamar(playerid)
{

    //something
    return 1;
}


CMD:stoptimer(p)
{
    KillTimer(Timer);
    return 1;
}

Referencia:
SetTimerEx
KillTimer


Se precisar de ajuda pra adaptar a seu cуdigo sу pedir.
Reply


Messages In This Thread
Erro com SetTimer - by bruxo00 - 11.10.2013, 16:01
Re: Erro com SetTimer - by Schocc - 11.10.2013, 16:03
Re: Erro com SetTimer - by PT - 11.10.2013, 16:04
Re: Erro com SetTimer - by iDreak - 11.10.2013, 16:12
Re: Erro com SetTimer - by bruxo00 - 11.10.2013, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)