17.06.2016, 11:30
How I can do it? thanks for helping
Код:
CMD:viplocker(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid, 7.0, 2555.747314, 1404.106079, 7699.584472)) { SendClientMessageEx(playerid, COLOR_GRAD2, " You are not at the VIP Locker Room!"); return 1; } if(PlayerInfo[playerid][pDonateRank] == 1) { ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Locker", "First Aid Kit (Free)\nKevlar Vest ($15000)\nWeapons\nClothes Corner\nJob Center\nVIP Color", "Select", "Cancel"); } else if(PlayerInfo[playerid][pDonateRank] == 2) { ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Locker", "First Aid Kit (Free)\nKevlar Vest ($10000)\nWeapons\nClothes Corner\nJob Center\nVIP Color", "Select", "Cancel"); } else if(PlayerInfo[playerid][pDonateRank] >= 3) { ShowPlayerDialog(playerid, 7483, DIALOG_STYLE_LIST, "VIP Locker", "First Aid Kit (Free)\nKevlar Vest (Free)\nWeapons\nClothes Corner\nJob Center\nVIP Color", "Select", "Cancel"); } return 1; }