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

How to set a death message for a weapon?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 08-07-2011 , 08:32   How to set a death message for a weapon?
Reply With Quote #1

How do i make a death message for a weapon? e.g = M79 .. i want to make the kill symbol to be a M79 symbol as i already have the TGA and SPR.

like this...

PHP Code:
    //Headshot Kill
    
if (tbody == 1) {

        
message_beginMSG_ALLgmsgDeathMsg,{0,0,0},0)
        
write_byte(id)
        
write_byte(tid)
        
write_string("grenade")
        
message_end()
        
    }

    
//Normal Kill
    
else {
        
        
message_beginMSG_ALLgmsgDeathMsg,{0,0,0},0)
        
write_byte(id)
        
write_byte(tid)
        
write_byte(0)
        
write_string("grenade")
        
message_end()
        
    } 
do i have to change the 'grenade' to 'M79'?

like this

PHP Code:
    //Headshot Kill
    
if (tbody == 1) {

        
message_beginMSG_ALLgmsgDeathMsg,{0,0,0},0)
        
write_byte(id)
        
write_byte(tid)
        
write_string("M79")
        
message_end()
        
    }

    
//Normal Kill
    
else {
        
        
message_beginMSG_ALLgmsgDeathMsg,{0,0,0},0)
        
write_byte(id)
        
write_byte(tid)
        
write_byte(0)
        
write_string("M79")
        
message_end()
        
    } 
Please help.I don't want to cause any error as i did before , my whole server crash and have to re-installed ... :\
Hope i post it in the right place.
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh is offline
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 10-25-2011 , 12:20   Re: How to set a death message for a weapon?
Reply With Quote #2

Sorry for reviving

You mean custom hit zones. search for it or ask mercylezz.

in hes zp5.0 config file you can do a hitzones for a zombie
__________________
Snaker beatter is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 10-25-2011 , 22:13   Re: How to set a death message for a weapon?
Reply With Quote #3

did I say about hit zone there ? ...
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 10-25-2011 , 22:19   Re: How to set a death message for a weapon?
Reply With Quote #4

Set custom death message + edit hud.txt
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 10-26-2011 , 03:48   Re: How to set a death message for a weapon?
Reply With Quote #5

[MY]
masalahnye nk buat death message tu same mcm yang aku post tu ke ?

[ENG]
how ? o.o
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh is offline
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 10-26-2011 , 04:17   Re: How to set a death message for a weapon?
Reply With Quote #6

Quote:
Originally Posted by JoKeR LauGh View Post
did I say about hit zone there ? ...
But you say headshot. It can be controll by hitzone
__________________
Snaker beatter 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 09:24.


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