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
#2

Sorry, on 5'th page, can someone help please?
Reply
#3

Save system is not here, you should post save code (if i understand the problem.).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)