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

Glow Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-22-2011 , 15:58   Glow Weapon
Reply With Quote #1

Why this won't work?

PHP Code:
RegisterHam(Ham_RemovePlayerItem"player""RemovePlayerItem")

public 
RemovePlayerItem(ident) {
    if(
cs_get_weapon_type(ent) == CSW_DEAGLE && (Player[0] == id || Player[1] == id)) {
        
client_print(idprint_chat"#1 Test");
        switch(
get_user_team(id)) {
            case 
1set_rendering(entkRenderFxNone25500kRenderTransColor200)
            case 
2set_rendering(entkRenderFxNone00255kRenderTransColor200)
            default: 
set_rendering(entkRenderFxNone02550kRenderTransColor200)
        }
    }

__________________
Retired.
Xalus is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-23-2011 , 00:16   Re: Glow Weapon
Reply With Quote #2

You can't change render modes on view weapon models.
__________________
Hunter-Digital is offline
pRoxxxDD
Junior Member
Join Date: Feb 2011
Location: Ukraine
Old 05-24-2011 , 09:00   Re: Glow Weapon
Reply With Quote #3

I have some crazy idea.
Yo hide your weapon model(pev_viewmodel 0 or pev_viewmodel2 ""), attach entity with v_ model, and make it visible only for player, send's weapon animations to v_ model when it needs, and you can make model glow. =)
This is only reflection. Don't tested that.
__________________
pRoxxxDD 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 12:18.


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