21.12.2012, 18:01
Heres the Code:
Heres the errors:
I'm trying to do it so a dialog leads to a different dialog.The line with the error is the line with showplaydialog.
pawn Код:
}
case 4:
{
{
new string[128];
for(new x;x<MAX_PLAYER_ATTACHED_OBJECTS;x++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, x)) format(string, sizeof(string), "%s%d (Used)\n", string, x);
else format(string, sizeof(string), "%s%d\n", string, x);
}
ShowPlayerDialog(playerid, DIALOG_ATTACH_INDEX_SELECTION, DIALOG_STYLE_LIST, "Toy Editor - Index Selection", string, "Select", "Cancel");
return 1;
}
}
pawn Код:
Arko.pwn(8070) : error 029: invalid expression, assumed zero
Arko.pwn(8070) : error 029: invalid expression, assumed zero
Arko.pwn(8070) : warning 215: expression has no effect
Arko.pwn(8070) : warning 215: expression has no effect
Arko.pwn(8070) : warning 215: expression has no effect
Arko.pwn(8070) : warning 215: expression has no effect
Arko.pwn(8070) : warning 215: expression has no effect
Arko.pwn(8070) : warning 215: expression has no effect
Arko.pwn(8070) : error 001: expected token: ";", but found ")"