Do "Shield" include in "WepPick", "CurWeapon"? (event)
I am writing a plugin ,
I'm using event WepPick and CurWep. but I have a question. Do "Shield" include in Weapon Pick? , cause I've tested , doesn't work. If no , how can I do to fix the problem? And CurWep , There isn't a id for shield , all I know is "weapon_shield" , There isn't "CSW_SHIELD" ... Is there any way to fix , like read_data?.. Just few question's , thanks! |
Re: Do "Shield" include in "WepPick", "CurWeapon"? (event)
Hello , somebody help me?
I've already post 3 topics. No one reply me... |
Re: Do "Shield" include in "WepPick", "CurWeapon"? (event)
for the CurWeapon event it displays the secondary weapon ID... it wouldn't make sense to display the shield's id because you wouldn't know what weapon you have with the shield...
all you can do is use a variable when you pickup the shield and use it on curweapon... or you could use cs_get_user_shield... but I recommend using a variable because it's more efficient |
Re: Do "Shield" include in "WepPick", "CurWeapon"? (event)
Ok~But my problem is,
When finish giving player a shield, If player throw the shield out , and pick it up by (knife , HE,FB,SE) , It will be like this http://imgs.f-heaven.org/uimg/1242829331.jpg It looks like I'm just taking a knife, but truely , I'm taking a shield .. But can't see it..you know my problem is? So I need a PickUp event to set users shield model.. |
| All times are GMT -4. The time now is 01:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.