Radiation System
#3

Quote:
Originally Posted by arjanforgames
Посмотреть сообщение
Make it with:
pawn Код:
IsPlayerInRangeOfPoint
Then make a timer so it will drain like 10hp every 10 seconds or so.

Good luck.
No, just no.

Use the area natives that come with Incognito's streamer plugin/include. You can check using "OnPlayerEnterDynamicArea" if they entered that specific area and THEN you can use a repeating timer (every 10000ms (or 10 seconds)) to deplete their health. Then you can use "OnPlayerLeaveDynamicArea" to stop the timer.

Using the method that arjanforgames mentioned above would require you running a repeating timer every 1 second or something (maybe even less to make it accurate)- which is extremely inefficient.
Reply


Messages In This Thread
Radiation System - by Mitchy - 09.07.2013, 20:50
Re: Radiation System - by arjanforgames - 09.07.2013, 21:03
Re: Radiation System - by Scenario - 09.07.2013, 21:07
Re: Radiation System - by arjanforgames - 09.07.2013, 21:31
Re: Radiation System - by Pottus - 09.07.2013, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)