SA-MP Forums Archive
Bandana X and Z axis - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Bandana X and Z axis (/showthread.php?tid=530540)



Axis problem - Eggward - 07.08.2014

Okay so. All toys work correctly when rotating them, besides the bandana mask. One of their scripters said the only thing that the server does is that it saves the changes done to them, but all the things are processed through SA:MP.


Re: Bandana X and Z axis - Tamer - 07.08.2014

No they don't, or atleast you're doing it wrong. Z will determine the position at the 3rd dimension, as in if the Bandana is going to go up or down, X will do the right - left Y will do the front - back.

If you're using some editor or anything like that I've faced issues sometimes, simply delete the object and put it on editor mode again.


Re: Bandana X and Z axis - Eggward - 07.08.2014

So the server I play on, has these axis not working corectly. And all of them are processed through SAMP.


Re: Bandana X and Z axis - Tamer - 07.08.2014

Quote:
Originally Posted by Eggward
Посмотреть сообщение
So the server I play on, has these axis not working corectly. And all of them are processed through SAMP and they can't figure it out.
At this case they should try to re-make it or use the attachedobjects editor from the SA-MP server package (in filterscripts folder) and try again.


Re: Bandana X and Z axis - Eggward - 07.08.2014

Okay so. All toys work correctly when rotating them, besides the bandana mask. One of their scripters said the only thing that the server does is that it saves the changes done to them, but all the things are processed through SA:MP.


Re: Bandana X and Z axis - Tamer - 07.08.2014

May I have the model ID of this bandana?


Re: Bandana X and Z axis - Eggward - 08.08.2014

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
May I have the model ID of this bandana?
18913

Mask 3


Re: Bandana X and Z axis - Tamer - 08.08.2014

SetPlayerAttachedObject(playerid,0,18913,2,0.08399 9,0.016000,0.001000,-88.299949,-2.899996,-94.499969,1.000000,1.000000,1.000000);

Works fine for me. I did this via an editor.


Re: Bandana X and Z axis - Eggward - 08.08.2014

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
SetPlayerAttachedObject(playerid,0,18913,2,0.08399 9,0.016000,0.001000,-88.299949,-2.899996,-94.499969,1.000000,1.000000,1.000000);

Works fine for me. I did this via an editor.
Yea, okay, but this information is only saved by the script and the players set their objects how they want using /toys. For whatever reason, Mask 3 is bugged and it doesn't recognize the axis correctly.
Here's what I am trying to say: https://www.youtube.com/watch?v=9_Eo...8T1ERfyfBx397Q