If vehicle health is lower than 500 set player drunk level.
#3

Try:
Quote:
Originally Posted by Memoryz
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
  new Float:health;
  GetVehicleHealth(vehicleid, health);
  if(health < 650) SetPlayerDrunkLevel (playerid, 50000);
  return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)