public hpcheck(playerid) { if(GetPlayerHealth(playerid) < 15) { SetPlayerDrunkLevel(playerid, 3000); } else if(GetPlayerHealth(playerid) < 18) { SetPlayerDrunkLevel(playerid, 10000); } return 1; }