Event Flags
I noticed that usually, when registering an event, they have flags, such as:
register_event( "HLTV", "EVENT_NewRound", "a", "1=0", "2=0" ) What is the point in param 3-5? And would this work fine when registering damage? register_event( "Damage", "eDamaged" ) Not once have I seen an event registered without flags. |
Re: Event Flags
You can find all the info about register_event here. I'm not sure if it'd work without flags, though. Best way to find out is to try.
|
Re: Event Flags
It works without flags, but with flags u reduce number of unnecessary calls, and u filter out situations u dont want function to be called.
|
| All times are GMT -4. The time now is 21:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.