Boosting help
#4

Quote:
Originally Posted by xSkullx
Посмотреть сообщение
pawn Код:
if(PRESSED(KEY_FIRE))
    {
        new Float:speed[4];
        GetVehicleZAngle(GetPlayerVehicleID(playerid), speed[3]);
        GetVehicleVelocity(GetPlayerVehicleID(playerid), speed[0], speed[1], speed[2]);
        SetVehicleVelocity(GetPlayerVehicleID(playerid),((floatadd(speed[0],floatmul(1.01,floatsin(-speed[3],degrees))))*2)/3, ((floatadd(speed[1],floatmul(1.01,floatcos(-speed[3],degrees))))*2)/3, speed[2]);
    }
Try this. If it gives errors post it here, i maked it quick !
Can you make it so only admins can do this? And can you make it so its alt key
Reply


Messages In This Thread
Boosting help - by Vasu99 - 20.09.2012, 14:17
Re: Boosting help - by XtremeR - 20.09.2012, 14:23
Re: Boosting help - by xSkullx - 20.09.2012, 14:24
Re: Boosting help - by Vasu99 - 20.09.2012, 17:23
Re: Boosting help - by Danyal - 20.09.2012, 17:49
Re: Boosting help - by Kyle - 20.09.2012, 17:50
Re: Boosting help - by Vasu99 - 20.09.2012, 18:05
Re: Boosting help - by Vasu99 - 20.09.2012, 18:43
Re: Boosting help - by Vasu99 - 20.09.2012, 19:26
Re: Boosting help - by C00K13M0N$73R - 20.09.2012, 19:27

Forum Jump:


Users browsing this thread: 4 Guest(s)