19.12.2018, 11:03
How can I make to disappear "Permanent" when I write "/Buyvip" and I select the level,and after show me "Unavailable"
Photo: https://imgur.com/a/CODZR55
Photo: https://imgur.com/a/CODZR55
Код HTML:
CMD:buyvip(playerid,params[]) { new VipT[256], Str[3048]; eString[0] = EOS; //-------------------------------------------------------------------------- switch(CosminInfo[playerid][Language]) { case 0: { if(CosminInfo[playerid][pVIP] == 7) VipT = "{FF0000}Unavailable"; } case 1: { if(CosminInfo[playerid][pVIP] == 7) VipT = "{FF0000}Indisponibil"; } } //-------------------------------------------------------------------------- switch(CosminInfo[playerid][Language]) { case 0:{// English strcat(eString, "\tItem\tPrice\tValidity\n"); format(Str, 3048, "{FFCC00}Super\t{4EFF00}Free\t{FFCC00}Permanent {FF0000}%s\n", VipT), strcat(eString, Str, 3048); format(Str, 3048, "{FFCC00}High\t{4EFF00}10.000 Coins & 60 Hours\t{FFCC00}Permanent\n"), strcat(eString, Str, 3048); format(Str, 3048, "{FFCC00}Ultra\t{4EFF00}20.000 Coins & 70 Hours\t{FFCC00}Permanent\n"), strcat(eString, Str, 3048); format(Str, 3048, "{FFCC00}Suprem\t{4EFF00}30.000 Coins & 100 Hours\t{FFCC00}Permanent\n"), strcat(eString, Str, 3048); return ShowPlayerDialog(playerid, DIALOG_BUYVIP, DIALOG_STYLE_TABLIST_HEADERS, "{FFFFFF}BuyVIP, Type {FF0000}/VCmds {FFFFFF}for commands!", eString, "Buy", "Close");} case 1:{// Romana strcat(eString, "\tItem\tPret\tValabilitate\n"); format(Str, 3048, "{FFCC00}Super\t{4EFF00}Gratuit\t{FF0000}%s\n", VipT), strcat(eString, Str, 3048); format(Str, 3048, "{FFCC00}High\t{4EFF00}10.000 Coins & 60 Ore\t{FFCC00}Permanent\n"), strcat(eString, Str, 3048); format(Str, 3048, "{FFCC00}Ultra\t{4EFF00}20.000 Coins & 70 Ore\t{FFCC00}Permanent\n"), strcat(eString, Str, 3048); format(Str, 3048, "{FFCC00}Suprem\t{4EFF00}30.000 Coins & 100 Ore\t{FFCC00}Permanent\n"), strcat(eString, Str, 3048); return ShowPlayerDialog(playerid, DIALOG_BUYVIP, DIALOG_STYLE_TABLIST_HEADERS, "{FFFFFF}BuyVIP, Tasteaza {FF0000}/VCmds {FFFFFF}pentru comenzi!", eString, "Cumpara", "Iesi");} } return 1; }