Versuchs mal so xd
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(IsVehicleInWater(vehicleid) == 1)
{
SendClientMessage(playerid, COLOR_RED, "Du kannst das Fahrzeug im Wasser nicht verlassen!");
ClearAnimations(playerid);
PutPlayerInVehicle(playerid, vehicleid, GetPlayerVehicleSeat(playerid));
return 1;
}
return 1;
}