19.10.2014, 17:22
Hii .. I'm making a vehicles dealership .. but as the list is too long I used strcat .. then it shows me a warning (title) while compiling .. the line meant by the warning is the last one "ShowPlayerDialog....."
can someone please help me fixing that .. thanks
can someone please help me fixing that .. thanks
Код:
new string[1024]; strcat(string, "{FFFFFF}Infernus {45FF7F}(1000000$)\n{FFFFFF}Bullet {45FF7F}(800000$)\n{FFFFFF}Buffalo {45FF7F}(500000$)\n{FFFFFF}Cheetah {45FF7F}(700000$)\n{FFFFFF}Banshee {45FF7F}(850000$)\n"); strcat(string, "{FFFFFF}Turismo {45FF7F}(900000$)\n{FFFFFF}Sabre {45FF7F}(420000$)\n{FFFFFF}ZR-350 {45FF7F}(650000$)\n{FFFFFF}Comet {45FF7F}(560000$)\n{FFFFFF}Hotring {45FF7F}(600000$)\n"); strcat(string, "{FFFFFF}Hotring Racer 1 {45FF7F}(800000$)\n{FFFFFF}Hotring Racer 2 {45FF7F}(820000$)\n{FFFFFF}Bloodring Banger {45FF7F}(570000$)\n{FFFFFF}Super GT {45FF7F}(600000$)\n"); strcat(string, "{FFFFFF}Jester {45FF7F}(470000$)\n{FFFFFF}Sultan {45FF7F}(500000$)\n{FFFFFF}Stratum {45FF7F}(400000$)\n{FFFFFF}Elegy {45FF7F}(280000$)\n{FFFFFF}Flash {45FF7F}(300000$)\n"); strcat(string, "{FFFFFF}Euros {45FF7F}(350000$)\n{FFFFFF}Club {45FF7F}(320000$)\n{FFFFFF}Alpha {45FF7F}(430000$)\n{FFFFFF}Phoenix {45FF7F}(700000$)\n"); ShowPlayerDialog(playerid,18,DIALOG_STYLE_LIST, string, "Buy", "Cancel");