SA-MP Forums Archive
PPC Tol - 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: PPC Tol (/showthread.php?tid=397861)



PPC Toll - kryptonice - 07.12.2012

Hi all,

I want to make a toll with PPC_Trucking but not one that goes simple up and down but with the barrierturn



Like that
But how do I configure that (with this code)?

Код:
		AddTollGate(968, 3497.1000976563, 2553.00000000, 22.29999924, 3497.09960938, 2553.00000000, 22.29999924, 0.0, 269.24981689, 0.0, 30);
Thanks in advance



--

I guess its "PosX1, PosY1, PosZ1, PosX2, PosY2, PosZ2, rotX, rotY, rotZ" now, but I need 2 times rotY?, but how?
I use the code above and the rotY should go to 337.99975586 when opened..