Help with Gangzone messages
#3

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
OnKeyStateChange (or something):

Check if the player presses the FIRE key and if he is in a HYDRA. Then check if he is in the combat zone:
if he is > Let him do whatever he wants
if he isnt > KILL THE FKER!

Now create a timer that checks every X seconds and check the area:
Код:
If IsPlayerInArea(gangzone)
   if variable == TRUE
       Send Message
       variable = false
else (not in gangzone)
   if variable == FALSE
      Send Message
      variable = true
Any chance to get that in a code so I can get it as an example? Sorry I'm not really experienced in PAWN..
Reply


Messages In This Thread
Help with Gangzone messages - by XrespenserX - 02.09.2012, 13:28
Re: Help with Gangzone messages - by mamorunl - 02.09.2012, 14:36
AW: Re: Help with Gangzone messages - by XrespenserX - 02.09.2012, 14:57
Re: Help with Gangzone messages - by Nirzor - 02.09.2012, 15:09
AW: Re: Help with Gangzone messages - by XrespenserX - 02.09.2012, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)