SA-MP Forums Archive
[FilterScript] SpeedBoost + jump Script - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SpeedBoost + jump Script (/showthread.php?tid=547573)



SpeedBoost + jump Script - UltraScripter - 23.11.2014

Hare's The Code :
pawn Код:
//By UltraScripter Thx For Downloading :)!!!. .. . . .  . .
///////////////////////////////////////////////////////////

#include <a_samp>

#define RELEASED(%0) \
   (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))

#if defined FILTERSCRIPT

#endif

public OnFilterScriptInit()
{
    printf("Car SpeedBoost And Jump By UltraScripter Loaded Succes Fully !!! !!! !!!");
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    new Car, State, Float:x, Float:y, Float:z;
    Car = GetPlayerVehicleID(playerid);
    State = GetPlayerState(playerid);
    if(RELEASED(KEY_FIRE))
    {
       if(State == PLAYER_STATE_DRIVER)
       {
          GetVehicleVelocity(Car, x, y, z);
          SetVehicleVelocity(Car, x*2, y*2, z*2);
       }
    }
    if(RELEASED(KEY_CROUCH))
    {
       if(State == PLAYER_STATE_DRIVER)
       {
          SetVehicleVelocity(Car, x, y, z+0.4);
       }
    }
    return 1;
}

//By UltraScripter Thx For Downloading :)!!!. .. . . .  . .
///////////////////////////////////////////////////////////
Enjoey The Script!!.


Re: SpeedBoost + jump Script - UltraScripter - 23.11.2014

LMB To Boost Car Speed
H To Jump Car!
Enjoey
...


Re: SpeedBoost + jump Script - M0HAMMAD - 24.11.2014

nice job


Re: SpeedBoost + jump Script - LeXuZ - 24.11.2014

Nice work mate


Re: SpeedBoost + jump Script - UltraScripter - 24.11.2014

Thx guys


Re: SpeedBoost + jump Script - Arastair - 24.11.2014

Great


Re: SpeedBoost + jump Script - SoNikMells - 24.11.2014

kidding? Russian made at a time until Pawn seen


AW: SpeedBoost + jump Script - Flori - 24.11.2014

Jajaja, good job.


Re: SpeedBoost + jump Script - UltraScripter - 24.11.2014

Thx Everyone !.