[FilterScript] SpeedBoost + jump Script
#1

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!!.
Reply
#2

LMB To Boost Car Speed
H To Jump Car!
Enjoey
...
Reply
#3

nice job
Reply
#4

Nice work mate
Reply
#5

Thx guys
Reply
#6

Great
Reply
#7

kidding? Russian made at a time until Pawn seen
Reply
#8

Jajaja, good job.
Reply
#9

Thx Everyone !.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)