Skip to content

Instantly share code, notes, and snippets.

View StrixG's full-sized avatar

Nikita Obrekht StrixG

View GitHub Profile
stock GetVehicleDriftAngle(vehicleid, &Float:fVehDriftAngle)
{
new
Float: fVehVelocity[3],
Float: fVehAngle,
Float: fVehMoveAngle;
if (!GetVehicleVelocity(vehicleid, fVehVelocity[0], fVehVelocity[1], fVehVelocity[2]))
{
return 0;
stock GetVehicleDriftAngle(vehicleid, &Float:fVehDriftAngle)
{
new
Float: fVehVelocity[3],
Float: fVehAngle,
Float: fVehMoveAngle;
if (!GetVehicleVelocity(vehicleid, fVehVelocity[0], fVehVelocity[1], fVehVelocity[2]))
{
return 0;