17.10.2009, 12:32
Код:
public hpcheck(playerid) { if(GetPlayerHealth(playerid) < 15) { SetPlayerDrunkLevel(playerid, 3000); } else if(GetPlayerHealth(playerid) < 18) { SetPlayerDrunkLevel(playerid, 10000); } return 1; }
public hpcheck(playerid) { if(GetPlayerHealth(playerid) < 15) { SetPlayerDrunkLevel(playerid, 3000); } else if(GetPlayerHealth(playerid) < 18) { SetPlayerDrunkLevel(playerid, 10000); } return 1; }