07.01.2014, 00:48
im confused, i have tried so many times about Creating a dialog, it works perfect but the problem is
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
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?
Код:
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; } } } }
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; }