Velocity
#2

Quote:
Originally Posted by Rock_Ro
Посмотреть сообщение
Lol.

A Drift Points Plugin, i was planning to release the best drift counter but this...ruin all my plans

Release aborted

Good Job, when i install San Andreas Again ( if i install ) i will test to see how it works xD

EDIT:
pawn Код:
stock IsVehicleDrivingBackwards(vehicleid)
{
    new
        Float:Float[3]
    ;
    if(GetVehicleVelocity(vehicleid, Float[1], Float[2], Float[0]))
    {
        GetVehicleZAngle(vehicleid, Float[0]);
        if(Float[0] < 90)
        {
            if(Float[1] > 0 && Float[2] < 0) return true;
        }
        else if(Float[0] < 180)
        {
            if(Float[1] > 0 && Float[2] > 0) return true;
        }
        else if(Float[0] < 270)
        {
            if(Float[1] < 0 && Float[2] > 0) return true;
        }
        else if(Float[1] < 0 && Float[2] < 0) return true;
    }
    return false;
}

Function made by Nero_3D if I remember correctly.
Reply


Messages In This Thread
Velocity - by park4bmx - 19.11.2011, 13:49
Re: Velocity - by Gamer_Z - 19.11.2011, 13:53
Re: Velocity - by park4bmx - 19.11.2011, 13:58

Forum Jump:


Users browsing this thread: 1 Guest(s)