Raised This Month: $ Target: $400
 0% 

Holding shield with knife


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 02-05-2007 , 00:06   Holding shield with knife
Reply With Quote #1

I have a knife only mod that may involve holding a shield also.

Dammit, can anyone think of a way to force the shield on the round start....

Problem:
When shields are off. Sometimes it switches to your primary weapon, which you can see by the ammo amount. When actually your guy is holding a knife and he can stab and such. No problem so far. However if i were to turn shields on and the player still has primary out (check the ammo) I cant give the player a shield.

Do you get what I'm saying??? Im tired and cant think straight. Any ideas are appreciated.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Old 02-06-2007, 23:55
soccdoodcss
This message has been deleted by Greentryst. Reason: bumping is not allowed until 2 weeks since last post in thread
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 02-07-2007 , 00:28   Re: Holding shield with knife
Reply With Quote #3

Do you mean, when a player has a primary gun, you cant give him a shield?
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 02-07-2007 , 17:41   Re: Holding shield with knife
Reply With Quote #4

Kind of... the game must register it as a primary weapon because I have ie: 30 ammo left while my guy is holding his knife. It acts normally as a knife, but I am unable to give him a shield.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 02-07-2007 , 19:23   Re: Holding shield with knife
Reply With Quote #5

your still not 100% clear... ammo shouldnt effect a shield and whether the following could be used.

give_item(id,"CSW_SHIELD")

thats what it is called right?
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 02-07-2007 , 22:52   Re: Holding shield with knife
Reply With Quote #6

That is what's called... it must be hard to picture...
At the begining of the round, my player is holding his knife. However the ammo of the hud shows my primary ammo

It must not register that my player is holding his knife, therefore it thinks im holding my primary. Which makes it so i cant hold a shield.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 02-08-2007 , 00:11   Re: Holding shield with knife
Reply With Quote #7

If you are doing this

Code:
give_item(id,"CSW_SHIELD")
Then that why it doesn't work. For give_item CSW_* is not the proper way weapon name. It has it be weapon_*.

Code:
give_item(id, "weapon_shield");
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 02-08-2007 , 00:42   Re: Holding shield with knife
Reply With Quote #8

oops, i forgot about that... use weapon, not csw
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 02-08-2007 , 22:50   Re: Holding shield with knife
Reply With Quote #9

Quote:
Originally Posted by teame06 View Post
If you are doing this

Code:
give_item(id,"CSW_SHIELD")

Then that why it doesn't work. For give_item CSW_* is not the proper way weapon name. It has it be weapon_*.

Code:
give_item(id, "weapon_shield");
I use weapon_shield... *sigh* Oh well i give up. Ill try to make a way that prevents them from picking up any weapons at all. But thank you all for trying to help.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-08-2007 , 02:01   Re: Holding shield with knife
Reply With Quote #10

Maybe him drop his primary weapon, then give him a shield.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 00:40.


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