[AJUDA] Comando por Limite?
#2

pawn Код:
forward TimerArmas(playerid); // topo
new contar[MAX_PLAYERS];


if(strcmp("/kit1", cmdtext, true) ==0)
{
    if(contar[playerid]==0)
      {
        // GivePlayerWeapon...
        contar[playerid]=1;
        SetTimer("TimerArmas" , TEMPO, true);
      }
      else
      {
        SendClientMessage(playerid, COR, "Vocк tem que esperar para reusar o comando");
      }
  return 1;
}

public TimerArmas()
{
new playerid;
contar[playerid]=1;
return 1;
}
@Se eu estiver errado, nгo me culpe. Sou iniciante tentando apenas lhe ajudar.
@Nгo testei.
Reply


Messages In This Thread
[AJUDA] Comando por Limite? - by marcos5680 - 20.06.2011, 20:35
Re: [AJUDA] Comando por Limite? - by mengueh - 20.06.2011, 20:51
Respuesta: Re: [AJUDA] Comando por Limite? - by marcos5680 - 20.06.2011, 21:17
Re: [AJUDA] Comando por Limite? - by mengueh - 20.06.2011, 21:21
AW: Respuesta: Re: [AJUDA] Comando por Limite? - by Miqueias Barros - 20.06.2011, 21:28
Respuesta: [AJUDA] Comando por Limite? - by marcos5680 - 20.06.2011, 21:31
Re: [AJUDA] Comando por Limite? - by mengueh - 20.06.2011, 21:38
Respuesta: [AJUDA] Comando por Limite? - by marcos5680 - 20.06.2011, 21:47
Re: [AJUDA] Comando por Limite? - by mengueh - 20.06.2011, 21:51
Re: [AJUDA] Comando por Limite? - by ApolloRJ - 20.06.2011, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)