Help with Saving Attachments Position.
#1

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.

Код:
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);
			}
		}
Please help, thank you.
Reply


Messages In This Thread
Help with Saving Attachments Position. - by Kestro - 10.12.2012, 10:19
Re: Help with Saving Attachments Position. - by Kestro - 11.12.2012, 16:45
Re: Help with Saving Attachments Position. - by ReVo_ - 11.12.2012, 16:49

Forum Jump:


Users browsing this thread: 2 Guest(s)