Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 #11

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
 



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 11:18.


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