Help Errors
#4

Код:
		    new count = 2;
// 		    new price;
		    if(PlayerInfo[playerid][pVKey3] != -1) { count ++; }
		    if(PlayerInfo[playerid][pVKey4] != -1) { count ++; }
		    if(PlayerInfo[playerid][pVKey5] != -1) { count ++; }
		    if(PlayerInfo[playerid][pVKey6] != -1) { count ++; }
		    if(count == 2) { slotprice[playerid] = 10; }
		    if(count == 3) { slotprice[playerid] = 10; }
		    if(count == 4) { slotprice[playerid] = 15; }
		    if(count == 5) { slotprice[playerid] = 15; }
		    if(count == 6) { slotprice[playerid] = 20; }
 	    	new plm[724]; // :O :O :O :O MAREEE
		    format(plm, sizeof(plm), "Premium Account - 35 Premium Poins\nPremium Pack($3,000,000 + 2 Levels + 100 Coins) - ");
format(plm, sizeof(plm), "%s35 Premium Points\nChange Name - 10 Premium Points\nAdd a Vehicle Slot(%d/6) - %d Premium Poins\n", plm, count, slotprice[playerid]);
format(plm, sizeof(plm), "%sVehicle Hidden Color - 2 Premium Points\nKMs and Days reset for veh. - 10 Premium Points\nClear Warns - 20 Premium Points\nClear Faction Punish - 10 Premium Points\nVehilce Maverick - 40 Premium Points\n", plm);
format(plm, sizeof(plm), "%sVehilce Banshee - 40 Premium Points\nVehilce ZR-350 - 40 Premium Points\nCreate Clan - 40 Premium Points\nAdittional 20 Clan Slots - 10 Premium Points", plm);
		    ShowPlayerDialog(playerid, 6029, DIALOG_STYLE_LIST,"* Premium Shop",plm, "Select","Close");
		}
	}
Reply


Messages In This Thread
Help Errors - by SHFaCeBook - 16.06.2015, 15:01
Re: Help Errors - by SHFaCeBook - 16.06.2015, 20:33
Re: Help Errors - by DarkLored - 16.06.2015, 22:01
Re: Help Errors - by X337 - 17.06.2015, 04:47

Forum Jump:


Users browsing this thread: 4 Guest(s)