Cabinet Bug
#1

I use a Role Play Gaming mode.In every gang or mafia i have a cabinet(Where i can get weapons)
When i'm writing /cabinet it says : "You have to many bullets".
Take a look at the line ,Here i show you JUST a gang cabinet.Every gang or mafia is buged
Код:
  if(!strcmp(cmdtext, "/cabinet", true))
{
  new weapon,ammo;
  if(IsPlayerConnected(playerid))
  {
    if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
    {
      if(PlayerToPoint(5,playerid,2492.9863,-1710.4384,1014.7422))
      {
       GetPlayerWeaponData(playerid,1,weapon,ammo);
       if(ammo > 100)
       {
         GetPlayerWeaponData(playerid,2,weapon,ammo);
         if(ammo < 150)
         {
           GetPlayerWeaponData(playerid,4,weapon,ammo);
           if(ammo < 150)
           {
             GetPlayerWeaponData(playerid,3,weapon,ammo);
             if(ammo < 150)
             {
               ShowMenuForPlayer(gunmenu1,playerid);
               return 1;
             }
             else
             {
						 SendClientMessage(playerid,COLOR_GREY,"You have to many bullets!");
						 }
           }
           else
             {
						 SendClientMessage(playerid,COLOR_GREY,"You have to many bullets!");
						 }
          }
          else
          {
				  SendClientMessage(playerid,COLOR_GREY,"You have to many bullets!");
				  }
        }
        else
        {
        SendClientMessage(playerid,COLOR_GREY,"You have to many bullets!");
		    }
      }
    }
Reply


Messages In This Thread
Cabinet Bug - by Jo1Nt - 23.01.2010, 23:17
Re: Cabinet Bug - by Chaprnks - 24.01.2010, 00:42
Re: Cabinet Bug - by Jo1Nt - 24.01.2010, 09:13

Forum Jump:


Users browsing this thread: 2 Guest(s)