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

Quote:
Originally Posted by ((Lorenc))
Посмотреть сообщение
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
oo thanx :S gonna try it out soon, but atm i cant get at my other pc with the scripts, >< i will pm you if it works
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)