cmd problem
#6

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
You'll requre quite a long string to insert everything.

pawn Код:
YCMD:gps(playerid, params[], help)
{
    #pragma unused params
    new listitems[512], singleitem[64];

    for(new i=0;i<=100; i++)
    {
        format(singleitem,sizeof(singleitem),"\n%d. %s",i,gps_name[i]);
        strcat(listitems, singleitem, sizeof listitems);
    }
    ShowPlayerDialog(playerid,GPSDIALOG,DIALOG_STYLE_LIST,"Place",listitems,"Go","Close");
    return 1;
}
won't work :\
Reply


Messages In This Thread
cmd problem - by ajwar - 14.08.2011, 17:53
Re: cmd problem - by Darnell - 14.08.2011, 18:00
Re: cmd problem - by ajwar - 14.08.2011, 18:37
Re: cmd problem - by HyperZ - 14.08.2011, 18:43
Re: cmd problem - by iPLEOMAX - 14.08.2011, 18:44
Re: cmd problem - by ajwar - 14.08.2011, 19:26

Forum Jump:


Users browsing this thread: 2 Guest(s)