SA-MP Forums Archive
Help pls, moveobject - 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: Help pls, moveobject (/showthread.php?tid=304664)



Help pls, moveobject - Maadox - 19.12.2011

can someone tell me how fix bug moveobject for gates ?? I'm using 0.3d
Like the first gate here : [ame]http://www.youtube.com/watch?v=lOakUxee1H0[/ame]


please Help me !!!


Re: Help pls, moveobject - devil77771 - 19.12.2011

Update streamer


Re: Help pls, moveobject - NAPSTER21 - 19.12.2011

Quote:
Originally Posted by Maadox
Посмотреть сообщение
can someone tell me how fix bug moveobject for gates ?? I'm using 0.3d
Like the first gate here : http://www.youtube.com/watch?v=lOakUxee1H0


please Help me !!!
yes the guy who replied is right you need streamer 2.6 but you also need to make your gate lines like this

i had this problem and this is what i did

example

new gate

gate = CreateDynamicObject(1335, 1254.98, 2467.74, 16.54, 0.00000000, 0.00000000, 270.00000000);

then if your using a command to open

command open ect

it should look like this

MoveDynamicObject(gate, 1254.98, 2467.74, 16.54, 2.0, 0.0, 0.0, 270.0);



so all you need is the rotations of your gates ect at the ends of all your gates and change them all to dynamic with the new streamer then it should rotate on opening no more and close properly

but you must add the rotations to the close move object also


Re : Help pls, moveobject - Maadox - 19.12.2011

Thank You Napster and devil too !


Re : Help pls, moveobject - Maadox - 19.12.2011

But i think we can use Setobjectpos and Rot and it's work but it's not more RP so anyway thank you