SA-MP Forums Archive
[Ajuda] SetTimer retornando ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] SetTimer retornando ? (/showthread.php?tid=457410)



SetTimer retornando ? - SkullFire - 11.08.2013

Botei esse SetTimer na public public OnFilterScriptInit, mas depois do settimer chamar a public,segundos depois ele retorna e chama a public infinitamente.

Код:
public OnFilterScriptInit()
{
SetTimer("GETVOTE", 5000, true);
return 1;
}



Re: SetTimer retornando ? - mau.tito - 11.08.2013

no lugar do true bote false ele irar chamar apenas uma vez !


Re: SetTimer retornando ? - SkullFire - 11.08.2013

Valeu !