i have a question
#1

im confused, i have tried so many times about Creating a dialog, it works perfect but the problem is

Код:
            if(listitem==1)                     // ARMOUR 1000$
	{
				if(PlayerInfo[playerid][pDonateRank] < 1)
			{
					SendClientMessage(playerid, COLOR_GRAD2, "   You are not Bronze VIP !");
					return 1;
				}
				if(PlayerInfo[playerid][pDonateRank] > 0)
					{
					PlayerInfo[playerid][pCash] -= 1000;
					GivePlayerMoney(playerid,-1000);
                	SetPlayerArmour(playerid,100.0);
                	return 1;
					}
				}
			}
	}
actually i was about to add another thing, for example "if he's > 1
it sells the gun for him for 75perfect off i have made it like that
Код:
				if(PlayerInfo[playerid][pDonateRank] > 2)
					{
					PlayerInfo[playerid][pcash] -= 750;
					GivePlayerWeapon(playerid,34,99999)
                	return 1;
					}
i was trying to edit it, sometimes gives me the same gun and it Took money from me twice, and sometimes it doesn't work, i don't know what to do, can you help me?
Reply


Messages In This Thread
i have a question - by Antoniohl - 07.01.2014, 00:48
Re: i have a question - by Voxel - 07.01.2014, 08:27

Forum Jump:


Users browsing this thread: 1 Guest(s)