Ticket/Quota System
#4

It should be like this.

pawn Код:
CMD:heal(playerid,params[])
{
if(pdata[playerid][ticket] > 2) return SendClientMessage(playerid, red,"[ERROR] You need atleast 2 tickets to use this command!");
    {
      #pragma unused params
      SetPlayerHealth(playerid, 100);
      pdata[playerid][ticket] = -2;
    }
return 1;
}
Reply


Messages In This Thread
Ticket/Quota System - by [IND]Crazy - 06.04.2014, 08:34
Re: Ticket/Quota System - by Equuuuin0X - 06.04.2014, 09:23
Re: Ticket/Quota System - by [IND]Crazy - 06.04.2014, 09:36
Re: Ticket/Quota System - by Equuuuin0X - 06.04.2014, 09:54

Forum Jump:


Users browsing this thread: 2 Guest(s)