Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //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 :)!!!. .. . . . . .
- ///////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement