Raised This Month: $ Target: $400
 0% 

Game Events/Messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
An Ark
Junior Member
Join Date: May 2013
Old 07-11-2013 , 02:58   Game Events/Messages
Reply With Quote #1

Where can i find Message constants ?? I am taking about the things Authors write in
Register_event( "bla bla", "bla bla", HERE ).
PHP Code:
register_event"SendAudio""Event_RoundEnd""a""2&%!MRAD_terwin""2&%!MRAD_ctwin""2&%!MRAD_rounddraw"); 
Where they got info about "2&%!MRAD_terwin", "2&%!MRAD_ctwin", "2&%!MRAD_rounddraw" stuff ??
An Ark is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 07-11-2013 , 05:45   Re: Game Events/Messages
Reply With Quote #2

http://wiki.amxmodx.org/Half-Life_1_Game_Events
EpicMonkey is offline
An Ark
Junior Member
Join Date: May 2013
Old 07-11-2013 , 07:48   Re: Game Events/Messages
Reply With Quote #3

Epic monkey.
1. Click on your link.
2. Ctrl + F.
3. type "%!MRAD_terwin" or "%!MRAD_ctwin" or "%!MRAD_rounddraw".

If there are any found results, you have given me a correct link.

Last edited by An Ark; 07-11-2013 at 07:49.
An Ark is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-11-2013 , 08:41   Re: Game Events/Messages
Reply With Quote #4

An Ark,
Those are the different AudioCode that SendAudio can send. I believe there are others as well. Lots of times when you need to figure out what it is doing, remove it to hook all of them and then print out the value of that argument
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
An Ark
Junior Member
Join Date: May 2013
Old 07-11-2013 , 09:13   Re: Game Events/Messages
Reply With Quote #5

YamiKaitou where can i find a list of all such conditions.
Quote:
I believe there are others as well
And not only for SendAudio for other game events as well.

Last edited by An Ark; 07-11-2013 at 09:13.
An Ark is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-11-2013 , 09:18   Re: Game Events/Messages
Reply With Quote #6

By searching and figuring it out on your own. You might be able to find some of them in the HLSDK or CSSDK
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
An Ark
Junior Member
Join Date: May 2013
Old 07-11-2013 , 09:33   Re: Game Events/Messages
Reply With Quote #7

By searching ???? HLSDK is quite clean i dont know abt CSSDK. how did you know abt these at the first?? by seeing in your seniors code ??

Last edited by An Ark; 07-11-2013 at 09:34.
An Ark is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-11-2013 , 09:40   Re: Game Events/Messages
Reply With Quote #8

Quote:
remove it to hook all of them and then print out the value of that argument
Did you at least try ?!

Eventually you could also search on the forum, someone has posted some list with such strings.
__________________

Last edited by Arkshine; 07-11-2013 at 09:42.
Arkshine is offline
An Ark
Junior Member
Join Date: May 2013
Old 07-11-2013 , 09:46   Re: Game Events/Messages
Reply With Quote #9

Did search but in vain. Sorry i dont know how to do such a thing as
Quote:
remove it to hook all of them and then print out the value of that argument
?? Example.

Last edited by An Ark; 07-11-2013 at 09:57.
An Ark is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-11-2013 , 09:56   Re: Game Events/Messages
Reply With Quote #10

You are in the scripting section, if you are not even willing to search/try, why are you there ?

You have already the code, and Yami already what to do. You can also search on the forum for the list.
__________________
Arkshine is offline
Reply



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 06:26.


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