Anti_Speed - problem
#6

I have no idea if an anti-speed even would work through VELOCITY functions
pawn Код:
stock GetPlayerSpeed(playerid)
{
    new Float:ST[4];
    if(IsPlayerInAnyVehicle(playerid))
    {
        GetVehicleVelocity(GetPlayerVehicleID(playerid),ST[0],ST[1],ST[2]);
    }
    else
    {
        GetPlayerVelocity(playerid,ST[0],ST[1],ST[2]);
    }
    ST[3] = floatsqroot(floatpower(floatabs(ST[0]), 2.0) + floatpower(floatabs(ST[1]), 2.0) + floatpower(floatabs(ST[2]), 2.0)) * 179.28625;
    return floatround(ST[3]);
}
Reply


Messages In This Thread
Anti_Speed - problem - by Dan_Barocu - 23.06.2012, 01:43
Re: Anti_Speed - problem - by Bu11Sh0t - 23.06.2012, 01:50
Re: Anti_Speed - problem - by Dan_Barocu - 23.06.2012, 01:56
Re: Anti_Speed - problem - by [NWA]Hannes - 23.06.2012, 02:07
Re: Anti_Speed - problem - by Dan_Barocu - 23.06.2012, 02:13
Re: Anti_Speed - problem - by [NWA]Hannes - 23.06.2012, 02:16
Re: Anti_Speed - problem - by Dan_Barocu - 23.06.2012, 02:41
Re: Anti_Speed - problem - by leonardo1434 - 23.06.2012, 02:48
Re: Anti_Speed - problem - by SuperViper - 23.06.2012, 05:25
Re: Anti_Speed - problem - by JaKe Elite - 23.06.2012, 05:31

Forum Jump:


Users browsing this thread: 1 Guest(s)