[AJUDA]Code
#9

No comando, tinha o SetTimer sem repetiзгo para chamar a public procurado, mas para ficar mais simples e funcional eu tirei esse timer e coloquei sу pra chamar a public procurado, que jб tem um timer dentro dela e ia ficar se chamando de 2 em 2 segundos.

Substitui a public por essa:
pawn Код:
public procurado(playerid)
{
if(Tempoprocura[playerid] > 0)
{
new procura = Procurando[playerid];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(Procurando[i] == procura)
{
GetPlayerPos(i,xprocu,yprocu,zprocu);
SetPlayerCheckpoint(i, xprocu,yprocu,zprocu,8);
}
Tempoprocura[playerid] --;
SetTimerEx("procurado",2000, true, "i", playerid);
}
}
}
Reply


Messages In This Thread
[AJUDA]Code - by blackinhu214 - 19.09.2010, 21:41
Re: [AJUDA]Code - by [BEP]AcerPilot - 19.09.2010, 23:47
Respuesta: [AJUDA]Code - by blackinhu214 - 20.09.2010, 00:17
Re: [AJUDA]Code - by [BEP]AcerPilot - 20.09.2010, 02:20
Re: [AJUDA]Code - by ipsBruno - 20.09.2010, 02:25
Re: [AJUDA]Code - by [BEP]AcerPilot - 20.09.2010, 02:29
Respuesta: [AJUDA]Code - by blackinhu214 - 20.09.2010, 03:32
Re: [AJUDA]Code - by TiagoPS - 20.09.2010, 13:12
Re: [AJUDA]Code - by [BEP]AcerPilot - 20.09.2010, 13:19

Forum Jump:


Users browsing this thread: 4 Guest(s)