1 warning . need help
#5

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:
pawn Код:
EditAttachedObject(playerid, strval(listitem));
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:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ATTACH_BONE_SELECTION, DIALOG_STYLE_LIST, "{FF0000}Attachment Modification - Bone Selection", string, "Select", "Cancel");
Reply


Messages In This Thread
1 warning . need help - by iThePunisher - 26.01.2014, 09:49
Re: 1 warning . need help - by rakshith122 - 26.01.2014, 10:20
Re: 1 warning . need help - by Legena - 26.01.2014, 10:21
Re: 1 warning . need help - by iThePunisher - 26.01.2014, 10:41
Re: 1 warning . need help - by Konstantinos - 26.01.2014, 11:10
Re: 1 warning . need help - by iThePunisher - 26.01.2014, 11:50
Re: 1 warning . need help - by Ranshand - 26.01.2014, 12:46
Re: 1 warning . need help - by iThePunisher - 26.01.2014, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)