Raised This Month: $51 Target: $400
 12% 

Ultimate Sounds (More Addons for Misc. Stats) 2/18/10


Post New Thread Reply   
 
Thread Tools Display Modes
hoboman
Senior Member
Join Date: Jul 2007
Old 01-25-2008 , 18:18   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #31

just put it anywhere in the plugin_init() function
__________________
hoboman is offline
tacticalmedic
Junior Member
Join Date: Oct 2007
Location: Upstate New York
Old 01-25-2008 , 18:29   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #32

okay, now for the slow kids on the bus. where is that. I have no coding, scripting experience. I'll try to look it up on the main amxmodx page.
__________________
Illegal aliens have always been a problem in the United States. Ask any Indian. -Robert Orben
tacticalmedic is offline
Send a message via Yahoo to tacticalmedic
tacticalmedic
Junior Member
Join Date: Oct 2007
Location: Upstate New York
Old 01-25-2008 , 18:33   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #33

okay, it looks as though it is registered.
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_cvar("ultimate_sounds",VERSION,FCVAR _SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPO NLY)
register_event("DeathMsg","hs","a","3=1")
register_event("DeathMsg","knife_kill","a","4 &kni")
register_event("ResetHUD", "reset_hud", "b");
register_event("DeathMsg", "death_event", "a", "1>0");
register_event("DeathMsg","death_msg","a")
register_event("SendAudio","roundend_msg","a" ,"2=%!MRAD_terwin","2=%!MRAD_ctwin","2=%!MRAD _rounddraw")
register_event("TextMsg","roundend_msg","a"," 2&#Game_C","2&#Game_w")

//register_logevent("SendAudio","logevent_round _end","a","2=%!MRAD_terwin","2=%!MRAD_ctwin", "2=%!MRAD_rounddraw")
//register_logevent("TextMsg","logevent_round_e nd","a","2&#Game_C","2&#Game_w")

lastman_mode = register_cvar("lastman_mode","abc")
streak_mode = register_cvar("streak_mode","ab")
kniff_mode = register_cvar("kniff_mode","ab")
hs_mode = register_cvar("hs_mode","ab")

gmsgHudSync = CreateHudSyncObj()

return PLUGIN_CONTINUE
}

*edit* alright, added the "register_dictionary("ultimate_sounds.txt ")" after the cvar variable, compiled, and now I am looking at the server for errors. brb


*edit* YAY, answered my own freaking question. Thanks to hoboman and bmann. No errors, no problems.
__________________
Illegal aliens have always been a problem in the United States. Ask any Indian. -Robert Orben

Last edited by tacticalmedic; 01-25-2008 at 18:49. Reason: n00b moment
tacticalmedic is offline
Send a message via Yahoo to tacticalmedic
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-25-2008 , 20:59   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #34

omg.... TY, i remember telling myself to do that then got sidetracked. lol my bad
__________________
bmann_420 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-25-2008 , 21:17   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #35

@bmann_420 :

What's the purpose of : "FCVAR_EXTDLL|FCVAR_UNLOGGED" ?

Even after reading their description, I still don't understand well. Can you tell me, please ?
__________________
Arkshine is offline
tacticalmedic
Junior Member
Join Date: Oct 2007
Location: Upstate New York
Old 01-25-2008 , 21:27   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #36

Just out of curiosity, why is knife spelled kniff?
"kniff_mode = register_cvar("kniff_mode","ab")"
__________________
Illegal aliens have always been a problem in the United States. Ask any Indian. -Robert Orben
tacticalmedic is offline
Send a message via Yahoo to tacticalmedic
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-25-2008 , 22:08   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #37

lol

@ark,
I looked it up before, and added it along time ago(2 years or something) i remember their was a reason, but i diddnt think it mattered that much. I believe brad knows much more about that. But its been so long, i dont remember, ill have to elaborate when i get home, but its no big deal.

@tactic

Dizzy is why it is... But I will change that also, thankx for pointing it out. I usually work on shit late so i miss small things also when you just lookit code for a while.


And the origional ML post of the sma has been edited. Ill make it official after a bit more testing.
__________________

Last edited by bmann_420; 01-26-2008 at 00:19.
bmann_420 is offline
tacticalmedic
Junior Member
Join Date: Oct 2007
Location: Upstate New York
Old 01-26-2008 , 08:38   Re: Ultimate Sounds (The original) 1/20/08
Reply With Quote #38

Quote:
Originally Posted by bmann_420 View Post
lol

@ark,
I looked it up before, and added it along time ago(2 years or something) i remember their was a reason, but i diddnt think it mattered that much. I believe brad knows much more about that. But its been so long, i dont remember, ill have to elaborate when i get home, but its no big deal.

@tactic

Dizzy is why it is... But I will change that also, thankx for pointing it out. I usually work on shit late so i miss small things also when you just lookit code for a while.


And the origional ML post of the sma has been edited. Ill make it official after a bit more testing.
I hear ya. As part of my job I have to work with spreadsheets and data tables, and after a while it all looks blurry and the numbers run into each other. Then I know that it is time to go to something else....
__________________
Illegal aliens have always been a problem in the United States. Ask any Indian. -Robert Orben
tacticalmedic is offline
Send a message via Yahoo to tacticalmedic
Tartooob
Senior Member
Join Date: May 2006
Old 02-02-2008 , 04:42   Re: Ultimate Sounds (More Addons for Misc. Stats) 1/20/08
Reply With Quote #39

I have tested it out, I have posted a message but for some reason it didn't get through ,,, probably cloverfield =P

Anywho as I can remember, it keeps typing on chat and hud something like ML_NOTFOUND, and it doesn't play any sound but multi kill and it keeps playing multi kill for everyone even if he killed once =/
__________________
oooooohh signature space o.o
Tartooob is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 02-02-2008 , 06:00   Re: Ultimate Sounds (More Addons for Misc. Stats) 1/20/08
Reply With Quote #40

Have you tried the updated version? It shouldnt do that anymore. And that is weird.... I will have to test, but I really have no time. Anybody else running into this issue with 1.8 that i just updated about 4 posts down from the top?
__________________
bmann_420 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 20:18.


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