Trying to do custom kill feed icons
What i tried is :
Code:
public void OnPluginStart() i tried to use https://forums.alliedmods.net/showthread.php?t=330116 but it didn't work too. i tried to do weapon_file,weapon_deagle,deagle instead of "file" but it always shows the gun which attacker has used not file.svg or deagle. isn't it weird i think it should work or not show the gun in killfeed |
Re: [HELP]Trying to do custom kill feed icons
You have to stop the broadcast of the initial event, then create a new one and send it to everyone.
Credits to "Patriot of Anarchy" from HLMod. PHP Code:
|
Re: [HELP]Trying to do custom kill feed icons
Quote:
Code:
stock Action FakeDeathEvent(Event oldEvent, char[] weapon) |
Re: [HELP]Trying to do custom kill feed icons
Quote:
|
Re: [HELP]Trying to do custom kill feed icons
are you sure the custom icons are valid? (precached/downloaded/working overall?)
|
Re: [HELP]Trying to do custom kill feed icons
Quote:
Code:
AddFileToDownloadsTable("materials/panorama/images/icons/equipment/file.svg"); Code:
PrecacheGeneric("materials/panorama/images/icons/equipment/file.svg", true); does the .svg have to be fixed size something like 64x64 ? and does the .svg have to contain only 1 color etc? is there any restriction for the .svg file ? |
Re: [HELP]Trying to do custom kill feed icons
Quote:
|
Re: [HELP]Trying to do custom kill feed icons
Quote:
and it workes fine when i do SetEventString(event,"weapon","filenamehere") so no need to make fake event |
All times are GMT -4. The time now is 18:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.