Hello I Need A Script For Increasing Vehicle Speed By Pressing L Key In GAME
Quote from: razacharan on Jul 23, 2016, 02:12 PMHello I Need A Script For Increasing Vehicle Speed By Pressing L Key In GAME
Use vehicle.AddSpeed += Vector(1,1,1); to increase the speed.
Where To Add IT? THANKS
@razacharanAdd this on functionScriptLoad
function onScriptLoad()
{
L <- BindKey(true, 0x4C,0,0);
}
and this on function onKeyDown( player, key )
function onKeyDown( player, key )
{
if ( key == L )
{
if(player.Vehicle!=null)
{
local v=player.Vehicle;
v.RelativeSpeed*=1.3;
}
}
}
Bro Finch Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks All Your Help :) :) :)
Quote from: =NK=RazaCharan** on Nov 19, 2016, 08:14 PMBro Finch Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks All Your Help :) :) :)
4 f*ing months later... what the