[FilterScript] Burnout vehicle start - because burnouts are for the win
#9

I didn't really copy it, it wasn't working because i posted a test version

the original creator is [HiC]TheKiller. He gave it to me and I edited it a bit

This is the fixed stock

pawn Code:
JumpStartCar(vehicleid)
{
    new Float:Xv, Float:Yv, Float:Zv, Float:absV;
    GetVehicleVelocity(vehicleid, Xv, Yv, Zv);
    absV = floatsqroot((Xv * Xv) + (Yv * Yv) + (Zv * Zv));
    if(absV < 0.04)
    {
        new Float:Zangle;
        GetVehicleZAngle(vehicleid, Zangle);
        GetVehicleVelocity(vehicleid, Xv, Yv, Zv);
        Xv = (0.11 * floatsin(Zangle, degrees));
        Yv = (0.11 * floatcos(Zangle, degrees));
        SetVehicleAngularVelocity(vehicleid, Yv, Xv, 0);
    }
    return 1;
}
I would recommend not going over 0.13.. not 0.15.. 0.14+ is just unlogical
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)