SA-MP Forums Archive
Need abit of help regarding Attached Objects. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need abit of help regarding Attached Objects. (/showthread.php?tid=407722)



Need abit of help regarding Attached Objects. - Desi_Dude - 15.01.2013

Hello , I'm not quiet getting it, How do i save these Attached Objects with i hit the save button with 0.3e editor, If i attach them again , the co-ordinates would be resetted.. How can i make them save when i hit the save icon..


I've learnt so far is something about OnPlayerEditAttachedObject , Can anyone help me explain , how does it work ?

Код:
enum ptInfo
{
	ptModelID,
	ptBone,
	Float:ptPosX,
	Float:ptPosY,
	Float:ptPosZ,
	Float:ptRotX,
	Float:ptRotY,
	Float:ptRotZ,
	Float:ptScaleX,
	Float:ptScaleY,
	Float:ptScaleZ
};
new PlayerToyInfo[MAX_PLAYERS+1][MAX_PLAYERTOYS][ptInfo];
I'd thank you , If you help me out .


Re: Need abit of help regarding Attached Objects. - KevinSchuit - 15.01.2013

If you are talking about this editor https://sampforum.blast.hk/showthread.php?tid=209234
I believe id was /asave and it will save in a file in your script files. Make sure you followed the instructions that are on the topic aswell, hope this would help you out.


Re: Need abit of help regarding Attached Objects. - Desi_Dude - 15.01.2013

Quote:
Originally Posted by KevinSchuit
Посмотреть сообщение
If you are talking about this editor https://sampforum.blast.hk/showthread.php?tid=209234
I believe id was /asave and it will save in a file in your script files. Make sure you followed the instructions that are on the topic aswell, hope this would help you out.
Thanks for your reply , but i don't think Im looking for this one..
https://sampwiki.blast.hk/wiki/EditAttachedObject This is what I'm using, but my toys aren't saving when i hit the save button , they'll just reset the co-ordinates


Re: Need abit of help regarding Attached Objects. - Desi_Dude - 16.01.2013

Anyone ? :/


Re: Need abit of help regarding Attached Objects. - Desi_Dude - 16.01.2013

Bumpp, On second page :/