Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // @Credts: [iPs]SuYaNw
- // @Info: Este script faz o carro pular ao apertar o alt ( aonde solta nitro).
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys & KEY_FIRE)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- static Float:_x,Float:_y, Float:_z;
- GetVehicleVelocity(GetPlayerVehicleID(playerid),_x,_y,_z);
- SetVehicleVelocity(GetPlayerVehicleID(playerid),_x,_y,_z+1);
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment