Guys i need the command "vehicle flip" please help.
http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Quaternion
This should give you an idea.
P.S. I suggest you observe people's scripts to gather some scripting knowledge, or you could visit this (http://squirrel-lang.org/squirreldoc/reference/language/lexical_structure.html) site to collect information. Hopefully it helps you! ;)
no is not that, I mean "when vehicle is Down. then use /flip to flip vehicle"
*facepalm*
Learn to script, you wont learn a shit from Ctrl+C and Ctrl+V . Go google some C# tutorials then you will know how to make your goddammit commands and shitty systems.
Quote from: ForOver on Oct 18, 2017, 12:03 PMno is not that, I mean "when vehicle is Down. then use /flip to flip vehicle"
Exactly, Quaternion is used to locate fourth dimensional points (x, y, z, w) to rotate the vehicle.
W in the parameters of Quaternion is the rotation. If your vehicle is upside-down or in a position where it can continue to drive freely, set the quaternion to (0,0,0,0) to rotate the vehicle back to normal.