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

Deathnotice icon on infection


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
entervoid
Junior Member
Join Date: Jul 2017
Old 07-13-2017 , 15:03   Deathnotice icon on infection
Reply With Quote #1

Hi,

Is it possible to change the deathnotice icon to something else than "knife" or "zombie_claws_of_death" when a player has been infected? I tried it once, but the result was, that the icon doesn't even appeared at all. I looked up the infect.inc and changed it there.

PHP Code:
            if (g_Game == Game_CSGO)
            {
                
SetEventString(event"weapon""knife"); //knife icon (csgo)
            
}
            else
            {
                
SetEventString(event"weapon""zombie_claws_of_death"); // custom icon (cs:s)?
            

If it is possible, do I have to change the infect.inc only, or something else?
And what do I have to write in to show a skull than a knife icon.
(i.e: Player A SKULL Player B)

Z:R Plugin: Zombie:Reloaded Franug edition

Last edited by entervoid; 07-13-2017 at 15:03.
entervoid is offline
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 07-14-2017 , 14:25   Re: Deathnotice icon on infection
Reply With Quote #2

Quote:
Originally Posted by entervoid View Post
Hi,

Is it possible to change the deathnotice icon to something else than "knife" or "zombie_claws_of_death" when a player has been infected? I tried it once, but the result was, that the icon doesn't even appeared at all. I looked up the infect.inc and changed it there.

PHP Code:
            if (g_Game == Game_CSGO)
            {
                
SetEventString(event"weapon""knife"); //knife icon (csgo)
            
}
            else
            {
                
SetEventString(event"weapon""zombie_claws_of_death"); // custom icon (cs:s)?
            

If it is possible, do I have to change the infect.inc only, or something else?
And what do I have to write in to show a skull than a knife icon.
(i.e: Player A SKULL Player B)

Z:R Plugin: Zombie:Reloaded Franug edition

__________________

Last edited by Bad Cold Man; 07-14-2017 at 14:36.
Bad Cold Man is offline
entervoid
Junior Member
Join Date: Jul 2017
Old 07-23-2017 , 12:22   Re: Deathnotice icon on infection
Reply With Quote #3

I'm actually searching for this icon:



Anyone, who knows what name this icon has?
It has to be a weapon, right?

Last edited by entervoid; 07-23-2017 at 12:25.
entervoid is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 07-24-2017 , 03:45   Re: Deathnotice icon on infection
Reply With Quote #4

https://forums.alliedmods.net/showth...hlight=grenade
8guawong is offline
entervoid
Junior Member
Join Date: Jul 2017
Old 07-24-2017 , 14:17   Re: Deathnotice icon on infection
Reply With Quote #5

Thank you!

It worked.

EDIT: Anyone who wants to change the weaponicon on infect to the "skull" one: Name of that weapon is suicide. Of course you have to recompile the zombiereloaded.sp again to see the results

Last edited by entervoid; 07-25-2017 at 08:46.
entervoid is offline
amauri_long
Member
Join Date: Sep 2014
Location: USA Moon Base
Old 07-27-2023 , 01:10   Re: Deathnotice icon on infection
Reply With Quote #6

Quote:
Originally Posted by entervoid View Post
Thank you!

It worked.

EDIT: Anyone who wants to change the weaponicon on infect to the "skull" one: Name of that weapon is suicide. Of course you have to recompile the zombiereloaded.sp again to see the results
https://forums.alliedmods.net/showth...65#post2200765
amauri_long 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 13:26.


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