Defuse Trigger Or Event
What event would it be when a CT is about to defuse? Because i'm writing a plugin which would do something when a CT attempts to defuse. When a CT starts to defuse I want to check if they are using a defuse kit.
I suppose it would involve 'register_event' for the defuse part then 'cs_get_user_defuse'. |
is there such an event? :?
|
yep ur on the right track. Now to get the eactual even why not print out all data that is getting called when the player is defusing so u can learn how to find out information and ull now what even it is.
|
How would you get that data?
|
read_data(1) for the first argument send then read_data(2) for the second and so on.
|
I'm sorry I don't get what you mean? :?
|
I know WC3FT checks if someone is defusing because it gives them XP, but I can't find the event or trigger,
|
Found in wc3.sma:
register_event("BarTime", "bomb_defusing", "be", "1=10", "1=5") |
Help Needed!
Code:
I get an error while compiling: Code:
Error 021: Symbol already defined 'register_event' |
you just forgot 2 brackets :wink:
Code:
|
| All times are GMT -4. The time now is 17:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.