Command Limit
#4

pawn Код:
new clickedtimes[MAX_PLAYERS];
pawn Код:
CMD:balh(playerd, params[])
{
    if(clickedtimes[playerid] == 3)
    {
        //He can't use it anymore.
     }
      else
      {
            //He can use the CMD.
            clickedtimes[playerid]++; // Increasing integer by 1.
       }
}
Reply


Messages In This Thread
Command Limit - by jackci - 07.06.2013, 11:34
Re: Command Limit - by CrazyChoco - 07.06.2013, 11:36
Re: Command Limit - by jackci - 07.06.2013, 11:39
Re: Command Limit - by gtakillerIV - 07.06.2013, 12:48
Re: Command Limit - by jackci - 07.06.2013, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)