20.05.2011, 16:00
I hope that was Polish server ^^
Ok, so let's describe it.
This script will make your vehicle "JUMP UP" for.. Idk how high, but not so much. Just press CAPS LOCK or H button, to jump. You MUST BE in VEHICLE in DRIVER seat, and you've to be RCON ADMIN. Of course, you can make your own conditions instead IsPlayerAdmin(playerid)..
~LetsOWN
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if((newkeys == KEY_CROUCH || newkeys == 10) && IsPlayerInAnyVehicle(playerid) && GetPlayerVehicleSeat(playerid) == 0)
{
if(IsPlayerAdmin(playerid)) // Is player RCON Admin??
{
new VehicleId = GetPlayerVehicleID(playerid);
new Float:VVelocity[3];
GetVehicleVelocity(VehicleId, VVelocity[0], VVelocity[1], VVelocity[2]);
SetVehicleVelocity(VehicleId, VVelocity[0], VVelocity[1], VVelocity[2]+0.25);
}
return 1;
}
return 1;
}
This script will make your vehicle "JUMP UP" for.. Idk how high, but not so much. Just press CAPS LOCK or H button, to jump. You MUST BE in VEHICLE in DRIVER seat, and you've to be RCON ADMIN. Of course, you can make your own conditions instead IsPlayerAdmin(playerid)..
~LetsOWN

