vehicle speed boost
#1

hi
anyone knows how to fix this? i wrote this script but it works for cars only , it doesnt work for bikes, boats and shits
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
    {
        if(newkeys & KEY_LOOK_BEHIND)
        {
            new vehicleid = GetPlayerVehicleID(playerid);
            new Float:angle;
            GetVehicleZAngle(vehicleid, angle);
            new Float:velox, Float:veloy, Float:veloz;
            GetVehicleVelocity(vehicleid, velox, veloy, veloz);
            velox += floatsin(-angle, degrees);
            veloy += floatcos(-angle, degrees);
            SetVehicleVelocity(vehicleid, velox, veloy, veloz);
        }
    }
Reply


Messages In This Thread
vehicle speed boost - by absolute - 11.06.2013, 16:44
Re: vehicle speed boost - by Avi57 - 11.06.2013, 16:48
Re: vehicle speed boost - by absolute - 11.06.2013, 16:51
Re: vehicle speed boost - by Konstantinos - 11.06.2013, 16:53
Re: vehicle speed boost - by absolute - 11.06.2013, 17:10
Re: vehicle speed boost - by feartonyb - 11.06.2013, 22:21
Re: vehicle speed boost - by Konstantinos - 12.06.2013, 21:59
Re: vehicle speed boost - by feartonyb - 12.06.2013, 23:18
Re: vehicle speed boost - by absolute - 13.06.2013, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)