Embedded colours
#4

I know there is a simpler yet efficient way of doing it. Thanks though.

This is what my code looks like.
pawn Код:
stock GetTeles(playerid) {
    new string[1000];
    for(new i = 0; i < sizeof(TeleportsPos); i++) {
        format(string, sizeof string, "%s%s\n", string, TeleportsPos[i][Name]);
    }
    ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, "Teleports", string, "Teleport", "Cancel");
    return 1;
}
Reply


Messages In This Thread
Embedded colours - by Luis- - 08.08.2012, 16:22
Re: Embedded colours - by Killer#Mummy - 08.08.2012, 16:30
Re: Embedded colours - by Roko_foko - 08.08.2012, 16:30
Re: Embedded colours - by Luis- - 08.08.2012, 16:31
Re: Embedded colours - by Roko_foko - 08.08.2012, 16:39
Re: Embedded colours - by Vince - 08.08.2012, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)