Raised This Month: $ Target: $400
 0% 

Set Glow on Weapon entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Abhinash
Senior Member
Join Date: Jan 2015
Location: India,kolkata
Old 07-07-2017 , 15:35   Set Glow on Weapon entity
Reply With Quote #1

How to set glow on weapon entity when it is on hands of the player ?
The glow is only visible to other players, not the weapon owner.
I knkw its possible and is already done .
I tried this but not working --

Code:
new weapon = get_user_weapon if (g_ct[id] && weapon == CSW_AWP) {    set_rendering(CSW_AWP, kRenderGlowShell, 100, 100, 0, kRenderNormal, 30) }

Please help.
Abhinash is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-07-2017 , 15:41   Re: Set Glow on Weapon entity
Reply With Quote #2

You can't render view models with by amxx.
You would need to edit the model.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Abhinash
Senior Member
Join Date: Jan 2015
Location: India,kolkata
Old 07-08-2017 , 07:18   Re: Set Glow on Weapon entity
Reply With Quote #3

I know I cant render view model.
But as I said the glow is only visible to other players .
Which means P model, which is visible to other players.
How to do that ?
Abhinash is offline
Old 07-08-2017, 12:34
Natsheh
This message has been deleted by Natsheh. Reason: Mistaken
Abhinash
Senior Member
Join Date: Jan 2015
Location: India,kolkata
Old 07-08-2017 , 16:28   Re: Set Glow on Weapon entity
Reply With Quote #5

Quote:
Originally Posted by Natsheh View Post
new entity = find_entity_byowner(-1, "weapon_awp", ownerid)
You your code I can only find the entity, then how will set glow ?
Could you olease give me full code or tell me step by step on how to do it ?
Abhinash is offline
Old 07-09-2017, 00:46
Natsheh
This message has been deleted by Natsheh. Reason: Mistaken
bibu
Veteran Member
Join Date: Sep 2010
Old 07-09-2017 , 10:07   Re: Set Glow on Weapon entity
Reply With Quote #7

Same for p_* models. You can't render it.
The possible ones are w_* models.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu 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 22:47.


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