SA-MP Forums Archive
Gates / Doors Problems since updating streamer plugin (picture included) - 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: Gates / Doors Problems since updating streamer plugin (picture included) (/showthread.php?tid=329355)



Gates / Doors Problems since updating streamer plugin (picture included) - AMEENAMEEN - 28.03.2012

Help me the doors should open close properly but they don't ant idea why ?
Picture:



Re: Gates / Doors Problems since updating streamer plugin (picture included) - The__ - 28.03.2012

The closed X,Y,Z are wrong, I guess.


Re: Gates / Doors Problems since updating streamer plugin (picture included) - AMEENAMEEN - 28.03.2012

They are right , thats why i asked for help even when i open / close them they are in a wrong position


Re: Gates / Doors Problems since updating streamer plugin (picture included) - AMEENAMEEN - 28.03.2012

Anyone?


Re: Gates / Doors Problems since updating streamer plugin (picture included) - viddo - 28.03.2012

Update to the latest streamer, http://code.******.com/p/samp-stream...downloads/list


Re: Gates / Doors Problems since updating streamer plugin (picture included) - AMEENAMEEN - 28.03.2012

This happned when i updated to the latest streamer plugin


Re: Gates / Doors Problems since updating streamer plugin (picture included) - NAPSTER21 - 28.03.2012

your still using the old format i think

old version

MoveObject(3665, x, y, z, speed)

you need to add the rotations to the end of the speed

new

MoveObject(3665, x, y, z, speed, rotx, roty, rotz)

then they should opena nd close properly

make sure you add the rotation to all the moveobjects wheather its opening or closing

hope this helps


Re: Gates / Doors Problems since updating streamer plugin (picture included) - AMEENAMEEN - 29.03.2012

here is an example of my code
pawn Code:
MoveObject(lspddoor1, 244.0578,72.4314,1002.5406, 3.5000);
MoveObject(lspddoor2, 247.1478,72.4314,1002.5406, 3.5000);



Re: Gates / Doors Problems since updating streamer plugin (picture included) - NAPSTER21 - 29.03.2012

Quote:
Originally Posted by AMEENAMEEN
View Post
here is an example of my code
pawn Code:
MoveObject(lspddoor1, 244.0578,72.4314,1002.5406, 3.5000);
MoveObject(lspddoor2, 247.1478,72.4314,1002.5406, 3.5000);
it needs to be like this

MoveObject(lspddoor1, 244.0578,72.4314,1002.5406, 3.5000, 0.0000, 0.0000, Your Rotz e.g 90.0);
MoveObject(lspddoor2, 247.1478,72.4314,1002.5406, 3.5000, 0.0000, 0.0000, Your Rotz e.g 90.0);

you also goto add these rotations to the closing aswell


Re: Gates / Doors Problems since updating streamer plugin (picture included) - AMEENAMEEN - 29.03.2012

how i can make it defalut without it rotatating or anything