You need to check the model ID and not the vehicle ID.
PHP код:
new vehicle = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicle) == 560) SendClientMessage(playerid,COLORE_ROSSO,"ERROR:You can't repair that vehicle.");
else
{
if (vehicle) // if not 0, player is in vehicle
{
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
RepairVehicle(vehicle);
GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~V ehicle ~g~Repaired!",3000,3);
SetVehicleHealth(vehicle, 1000);
}
}