27.07.2013, 18:29
pawn Код:
if (PRESSED(KEY_CROUCH))
{
if(IsPlayerInAnyVehicle(playerid))
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 462)
{
new faggio = GetPlayerVehicleID(playerid);
new Float:x, Float:y, Float:z;
GetVehiclePos(faggio, x, y, z);
SetVehiclePos(faggio, x, y + 2, z);
PutPlayerInVehicle(playerid, faggio, 0);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
}
}