10.12.2012, 10:19
So recently I have updated my attachment thing from dialog's with coordinates to 0.3e's with the clickable textdraws, and it all works but when you attach it again it doesn't save the position. Here is the code that I have ONLY edited for it.
Please help, thank you.
Код:
if((dialogid == EDITTOYS2)) { if(response) { if(listitem == 0) { ShowPlayerDialog(playerid, EDITTOYSBONE, DIALOG_STYLE_LIST, "Select a Bone", "Spine\nHead\nLeft upper arm\nRight upper arm\nLeft hand\nRight hand\nLeft thigh\nRight thigh\nLeft foot\nRight foot\nRight calf\nLeft calf\nLeft forearm\nRight forearm\nLeft clavicle\nRight clavicle\nNeck\nJaw", "Select", "Cancel"); } else if(listitem == 1) { EditAttachedObject(playerid, 0); } else if(listitem == 2) { EditAttachedObject(playerid, 0); } else if(listitem == 3) { EditAttachedObject(playerid, 0); } else if(listitem == 4) { EditAttachedObject(playerid, 0); } else if(listitem == 5) { EditAttachedObject(playerid, 0); } else if(listitem == 6) { EditAttachedObject(playerid, 0); } }