AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Game Events/Messages (https://forums.alliedmods.net/showthread.php?t=220466)

An Ark 07-11-2013 02:58

Game Events/Messages
 
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 ??

EpicMonkey 07-11-2013 05:45

Re: Game Events/Messages
 
http://wiki.amxmodx.org/Half-Life_1_Game_Events

An Ark 07-11-2013 07:48

Re: Game Events/Messages
 
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.:down:

YamiKaitou 07-11-2013 08:41

Re: Game Events/Messages
 
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

An Ark 07-11-2013 09:13

Re: Game Events/Messages
 
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.

YamiKaitou 07-11-2013 09:18

Re: Game Events/Messages
 
By searching and figuring it out on your own. You might be able to find some of them in the HLSDK or CSSDK

An Ark 07-11-2013 09:33

Re: Game Events/Messages
 
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 ??

Arkshine 07-11-2013 09:40

Re: Game Events/Messages
 
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.

An Ark 07-11-2013 09:46

Re: Game Events/Messages
 
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.

Arkshine 07-11-2013 09:56

Re: Game Events/Messages
 
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.


All times are GMT -4. The time now is 06:26.

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