Set Rendering on Dropped Weapons
Alright, so I hooked the drop command, and this is what I came up with:
PHP Code:
|
Re: Set Rendering on Dropped Weapons
You need to get the entity index of the weapon, this is not the same as what get_user_weapon() returns which is the CSW_* value. There's quite a few ways to get the entity index which you can find by using search.
|
Re: Set Rendering on Dropped Weapons
Also you need to render the weaponbox, not the weapon, and it's not created yet at drop cmd.
|
| All times are GMT -4. The time now is 21:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.