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

[L4D2] Weapon Drop Glow Fix [v1.0.3 | 25-December-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
knifeeeee
Junior Member
Join Date: Aug 2022
Old 08-06-2022 , 08:04   Re: [L4D2] Weapon Drop Glow Fix [v1.0.3 | 25-December-2021]
Reply With Quote #11

It seems that sometimes, the aperture of the object is still lost, can you update it
knifeeeee is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 08-06-2022 , 08:58   Re: [L4D2] Weapon Drop Glow Fix [v1.0.3 | 25-December-2021]
Reply With Quote #12

I did a test right now and for both examples mentioned in the main thread, the plugin restores the glow.
"sometimes" is too generic, I need a more detailed explanation to try to help you.
__________________
Marttt is offline
knifeeeee
Junior Member
Join Date: Aug 2022
Old 08-06-2022 , 09:58   Re: [L4D2] Weapon Drop Glow Fix [v1.0.3 | 25-December-2021]
Reply With Quote #13

PHP Code:
void GlowItem(int entity)
{
    
SetEntProp(entityProp_Send"m_iGlowType"3);
    
int R=GetRandomInt(0255);
    
int G=GetRandomInt(0255);
    
int B=GetRandomInt(0255);
    
SetEntProp(entityProp_Send"m_glowColorOverride"+ (256) + (65536));

I used it to make glowing weapon items, using this plugin will cause the aperture to be lost after the item is picked up
knifeeeee 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 16:11.


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