26.01.2014, 11:10
The second parameter of EditAttachedObject is the index which is integer. listitem is an array (string) and it should've given another warning for tag mismatch.
Assuming you input the slot/index in the dialog:
You also don't need to use "\" character, it can be in the next line without it (unless it's string) so just use it in one line:
Assuming you input the slot/index in the dialog:
pawn Код:
EditAttachedObject(playerid, strval(listitem));
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ATTACH_BONE_SELECTION, DIALOG_STYLE_LIST, "{FF0000}Attachment Modification - Bone Selection", string, "Select", "Cancel");