Raised This Month: $ Target: $400
 0% 

How do I call a registered event?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
suhdude
Senior Member
Join Date: Mar 2016
Location: Sweden
Old 11-10-2017 , 14:48   Re: How do I call a registered event?
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
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.
That was exactly what I was looking for!
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
suhdude is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode