23.06.2012, 20:50
pawn Код:
if(newkeys & KEY_SUBMISSION)
{
if (IsPlayerInAnyVehicle(playerid))
{
if((GetPlayerVehicleID(playerid) == 520) || (GetPlayerVehicleID(playerid) == 425) || (GetPlayerVehicleID(playerid) == 464)) {
return 1;
}
else {
new Float:vx, Float:vy, Float:vz;
GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
SetVehicleVelocity(GetPlayerVehicleID(playerid) ,vx*2,vy*2 ,vz*2);
}
}
}