09.07.2013, 21:07
Quote:
Make it with:
pawn Код:
Good luck. |
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.