14.08.2011, 17:53
Why this code returns: Unknown command?
pawn Код:
.--------------------------.
new stringaz[300];
new stringaz2[128];
for(new i=0;i<=100; i++)
{
format(stringaz2,sizeof(stringaz2),"{F58C5B}1.{FFFFFF}%s",i,gps_name[i]);
strins(stringaz,stringaz2,strlen(stringaz),sizeof(stringaz));
if(i!=100)
strins(stringaz,"\n",strlen(stringaz),sizeof(stringaz));
}
ShowPlayerDialog(playerid,GPSDIALOG,DIALOG_STYLE_LIST,"Select",stringaz,"Go","Close");
return 1;
.--------------------------.