Raised This Month: $ Target: $400
 0% 

weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 03-29-2006 , 14:48   weapons
Reply With Quote #1

ok
i heard from greenberet that its also possible of removing only
1 weapon from a player

can anyone give me the cmd or the code for it ?
because i'm getting really tired of using those strip_user_weapons


greetz ssj2goku
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
Stephen
Senior Member
Join Date: Aug 2004
Old 03-29-2006 , 15:07  
Reply With Quote #2

Strip the weapons and give the weapons you wanna have available.
That the only one i know so far
__________________
www.corona-bytes.net (ECX = ESF Addon)
Stephen is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 03-29-2006 , 16:00  
Reply With Quote #3

No don't do that.

use
engclient_cmd(id , "drop" , <WeaponName>)
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
VEN
Veteran Member
Join Date: Jan 2005
Old 03-30-2006 , 10:47  
Reply With Quote #4

I posted a stock strip_user_gun

To strip nades or c4 set it's ammo to 0 with cs_get_user_bpammo and then switch to another weapon.

To strip shield:
- drop it
- find it's entity with find_ent_by_owner
- if FL_ONGROUND flag is set - continue search (previous steep)
- remove shield entity
VEN is offline
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 04-10-2006 , 17:44  
Reply With Quote #5

sry guys but not one of your ways removes the gun

its for the mod <esf>
and it seems that you cant drop any weapons there

"unknown command:drop"
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
Zenith77
Veteran Member
Join Date: Aug 2005
Old 04-10-2006 , 17:49  
Reply With Quote #6

esf doesn't have weapons -_-
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 04-10-2006 , 20:04  
Reply With Quote #7

Quote:
Originally Posted by Zenith77
esf doesn't have weapons -_-
So iam wrong with my custom weapons?
and with the weapon remover?

well...
the attacks in esf are weapons, they just dont use weapon models, but they are weapons

why dont you use just this?
Code:
native RemoveOneWeaponTwelveSevenGaben.Org( Client, szWeapon[] );
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
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 16:33.


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