07.12.2012, 10:37
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)?
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..
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);

--
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..