Quote:
Originally Posted by Roko_foko
pawn Код:
CMD:shop(playerid,params[]) { new LongString[512]; for(new i; i < sizeof(zones); i++) { printf("%s",zones[i][0]); // [0] is the name format(LongString,sizeof(LongString),"%s\n%s",LongString,zones[i][0]);//>>> this line is changed <<< }
ShowPlayerDialog(playerid, telemenu, DIALOG_STYLE_LIST, "Teleport menu", LongString, "Spawn", "Cancel"); return 1; }
|
Thanks. If you are wondering why I made that command, it's because I don't want to type the stuff. Thanks again.