[Include] Barrier movement effect - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Barrier movement effect (
/showthread.php?tid=560571)
Barrier movement effect -
Mihaitza97 - 29.01.2015
What's this?
By using this include, you allow players to see how a barrier is going to rotate rx,ry,rz.
It can handle more than two barriers that move/rotate at the same time.
Warning! Be careful when you set RX, RY, RZ!
Example
pawn Код:
//Create barrier
barrier = CreateObject(968,2102.7000000,-2059.6001000,13.3000000,0.0000000,270.0000000,46.0000000); //object(barrier) (1)
//Move barrier to vertical position.
MoveBarrier(barrier, 2102.7000000,-2059.6001000,13.3000000, 0.2, 0.0000000,360.0000000,46.0000000);
//Back to normal. Orizontal position.
MoveBarrier(barrier, 2102.7000000,-2059.6001000,13.3000000, 0.2, 0.0000000,270.0000000,46.0000000);
Video
http://*********/_T-hlLpTa94
Download
http://pastebin.com/WUBNeMd7
Re: Barrier movement effect -
Max_Andolini - 29.01.2015
Ooh nice script thank you.
Re: Barrier movement effect -
TheWitcher - 29.01.2015
nice script
Re: Barrier movement effect -
JonathanW - 29.01.2015
I needed that. Thanks!
Re: Barrier movement effect -
Lunoxel - 20.08.2015
It does not work with Streamer?