little problem
#1

hello guys whats the problem on this command when i dont have a bandage kit it says : You dont have a bandage kit when i do /stats i see 0/1 Bandage ( works fine ) but when i do /buy & i choose a bandage kit theni do /stats i see Bandage 1/1 works the stats fine but when i do /healme it says i dont have bandage check this


Код:
if (strcmp("/healme", cmdtext, true, 10) == 0)
     {
     	 if(PlayerInfo[playerid][pBandagekit] < 1)
         {
                PlayerInfo[playerid][pBandagekit] = 0;
                ClearAnimations(playerid);
                return 1;
          }
	  else
         {
                SendClientMessage(playerid, 0x00FF00AA, "You dont have a Bandage kit.");
	        return 1;

          }
     }
Reply


Messages In This Thread
little problem - by BigBaws - 12.08.2012, 15:40
Re: little problem - by FalconX - 12.08.2012, 15:45
Re: little problem - by Weaselpwns - 12.08.2012, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)