new Float:vida;new veh = GetPlayerVehicleID(playerid);GetVehicleHealth(veh,vida);if(vida > 500) GivePlayerMoney(playerid,1000);if(vida <= 500) GivePlayerMoney(playerid,500);