Jump to content
Sign in to follow this  
LeftSkidLow

Mp nitro boost

Recommended Posts

Hey guys, I did search this topic but none of it makes any sense to me. All I'm looking to do is to make certain vehicles like the bus or motorcycle use a nitro to boost the speed when activated by the player. The sahrani life guys did it and I depbo'd their mission but its the most confusing thing I've ever seen.

Share this post


Link to post
Share on other sites

Something like .....

Quote[/b] ]

_velx = velocity _vehicle select 0;

_vely = velocity _vehicle select 1;

_velz = velocity _vehicle select 2;

_vehicle setVelocity [_velx * 1.3, _vely * 1.3, _velz * 1.3];

or short form;

Quote[/b] ]

_vehicle setVelocity [(velocity _vehicle select 0) * 1.3, (velocity _vehicle select 1) * 1.3, (velocity _vehicle select 2) * 1.3];

30% Boost ..... untested.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×