Can't figure this out
I seem to be having some difficulty with my code, i've tested it with many different methods, and yet still it doesn't work. All i'd like for it to do is speak Danger.wav when hp is below 20. Take a look at the following code
Code:
#include <amxmodx> |
Also I seem to have posted a glitch on the
Code:
set_task(1.0,"check_status")Code:
set_task(1.0,"check_status",846,"",0,"b") |
Code:
|
Thank you Freecode, that works beautifully, I also have 1 more problem I come across when I'm trying to use set_task to time certain events.
In the following code, I'm trying to make a 2 second interval between functions : Code:
I believe thats supposed to work, but whenever I've been killed, no sound is played. This is one problem that has plagued me for a while as well. Have any solutions? |
| All times are GMT -4. The time now is 17:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.