How do I call a registered event?
[SOLVED]
Code:
I want the round timer to be removed, and the c4 timer to appear. I think this event will do that, but I don't know how to call it. (Beginner) I use a script that auto plants the bomb, but it does not remove the timer. Thank you! |
Re: How do I call a registered event?
You do not call events, you hook events. This even is simply called when the bomb is planted, far from what you want to do. To change the timer you need to send a RoundTime message: https://wiki.alliedmods.net/Half-Lif...ents#RoundTime
If you want to hide the timer, then send a BombDrop https://wiki.alliedmods.net/Half-Lif...vents#BombDrop message with Flag = 1. How to send messages? message_begin + ... + message_end. |
Re: How do I call a registered event?
Quote:
Thanks for pointing me in the right direction again. Its working, but on the radar the bomb is planted in a different place.. Oh well :) |
Re: How do I call a registered event?
Send the correct bomb origin in BombDrop message to update the radar.
|
Re: How do I call a registered event?
Quote:
Whatever, it is not important in this retake scenario :) |
Re: How do I call a registered event?
get_user_origin
|
Re: How do I call a registered event?
Quote:
Code:
This cant be right.. lol |
Re: How do I call a registered event?
Quote:
Code:
|
Re: How do I call a registered event?
Quote:
Code:
|
Re: How do I call a registered event?
You have to define it(new ...)
|
All times are GMT -4. The time now is 21:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.