14.08.2011, 18:37
pawn Код:
YCMD:gps(playerid, params[], help)
{
#pragma unused params
#pragma unused help
new stringaz[300];
new stringaz2[128];
for(new i=0;i<=100; i++)
{
format(stringaz2,sizeof(stringaz2),"%d.%s",i,gps_name[i]);
if(i!=100)
strins(stringaz,"\n",strlen(stringaz),sizeof(stringaz));
}
ShowPlayerDialog(playerid,GPSDIALOG,DIALOG_STYLE_LIST,"Place",stringaz,"Go","Close");
return 1;
}