Kill a player if he is in an area?
#2

Do

pawn Код:
if(/* Playerinareafunction */)
{
       if(/* IsplayeradminCode */)
      {
       /* your code here*/
      }
}
else
{
SetPlayerHealth(playerid,0.0);
}
}
Just typed it from scratch now... Tell me if you get any errors for that..

Edit: soz for indention
Reply


Messages In This Thread
Kill a player if he is in an area? - by Jantjuh - 08.07.2010, 10:59
Re: Kill a player if he is in an area? - by Lorenc_ - 08.07.2010, 11:17
Re: Kill a player if he is in an area? - by Jantjuh - 08.07.2010, 11:21
Re: Kill a player if he is in an area? - by Lorenc_ - 08.07.2010, 11:27

Forum Jump:


Users browsing this thread: 1 Guest(s)