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

Death Sound and Info 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Punani
Junior Member
Join Date: Jun 2005
Old 06-05-2005 , 20:58  
Reply With Quote #11

omg...

It would look like how it would look like when u edited it..
Punani is offline
trogsconvash
Junior Member
Join Date: Apr 2005
Location: AZ
Old 06-05-2005 , 21:20  
Reply With Quote #12

wut
trogsconvash is offline
Send a message via AIM to trogsconvash Send a message via MSN to trogsconvash Send a message via Yahoo to trogsconvash
Yuri
Senior Member
Join Date: May 2005
Location: Yuri's Cyber Cafe
Old 06-05-2005 , 21:22  
Reply With Quote #13

Quote:
Originally Posted by trogsconvash
wut
woah that Is extremely bad.
Yuri is offline
vashes
Junior Member
Join Date: Jun 2005
Old 06-06-2005 , 01:11   nice plugin
Reply With Quote #14

this plugin works great and i like the sound kenny1 but i am have problems adding more sound its the sma i keep doing it wrong could u maybe give me an example of one that has been modifed
vashes is offline
Punani
Junior Member
Join Date: Jun 2005
Old 06-06-2005 , 05:56  
Reply With Quote #15

Its designed for 1 sound only...
Punani is offline
Punani
Junior Member
Join Date: Jun 2005
Old 06-06-2005 , 06:14  
Reply With Quote #16

Hmmm wait a sec... Cuz im in a good mood 2day im trying to make one for multiple sounds

SO evertime you die, another sound is played. (I suggest you add at least 4 sounds, otherwise it is possible you hear the same sound 3 times in a row.

Here it is:

Code:
#include <amxmodx> #include <csx> #define Maxsounds 2 new soundlist[Maxsounds][] = {"kenny1","humiliation"} public plugin_precache() {    precache_sound("misc/kenny1.mp3")    precache_sound("misc/humiliation.mp3")    return PLUGIN_CONTINUE } public client_death(killer,victim,wpnindex,hitplace,TK) {         new i     i = random_num(0,Maxsounds-1)     client_cmd(victim,"mp3 play sound/misc/%s",soundlist[i])     return PLUGIN_CONTINUE     new body_part[8][] = {"Whole Body","Head","Chest","Stomach","Left Arm","Right Arm","Left Leg","Right Leg"}     new killer_name[32], weapon_name[32]     get_user_name(killer, killer_name, 31);     xmod_get_wpnname(wpnindex, weapon_name, 31);     client_print(victim,print_chat,"--- You got killed by %s with the %s you got hit in your %s ---",killer_name,weapon_name,body_part[hitplace])     return PLUGIN_CONTINUE } public plugin_init() {     register_plugin("Die Music","1.0","Punani")     return PLUGIN_CONTINUE }

Change
Code:
#define Maxsounds 2
to a number of sounds u would like to use.

Add sounds here, without the mp3 extension
Code:
new soundlist[Maxsounds][] = {"kenny1","humiliation"}

and compile this shibby
Attached Files
File Type: sma Get Plugin or Get Source (diemusic_multiple.sma - 497 views - 988 Bytes)
Punani is offline
Bento
SourceMod Donor
Join Date: May 2005
Location: The Netherlands
Old 06-09-2005 , 11:46  
Reply With Quote #17

Ok, i added this to the first post..
__________________
Bento is offline
Bento
SourceMod Donor
Join Date: May 2005
Location: The Netherlands
Old 07-14-2005 , 19:37  
Reply With Quote #18

anything holding up approval?
__________________
Bento is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 12-14-2005 , 13:39  
Reply With Quote #19

Pretty redundant. Old. Moved to Unapproved/Old Plugins forum.
__________________
twistedeuphoria is offline
TheLinx
BANNED
Join Date: Jun 2006
Location: Somewhere i belong (swe)
Old 06-24-2006 , 14:25   Re: Death Sound and Info 1.0
Reply With Quote #20

Here is a funny sound XD

(Somebody says "Smells like somebody died...")
Attached Files
File Type: zip sound.zip (3.9 KB, 112 views)
TheLinx is offline
Send a message via ICQ to TheLinx Send a message via AIM to TheLinx Send a message via MSN to TheLinx Send a message via Yahoo to TheLinx Send a message via Skype™ to TheLinx
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 12:44.


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