Raised This Month: $ Target: $400
 0% 

Properly using fm_strip_user_gun


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-07-2010 , 15:52   Re: Properly using fm_strip_user_gun
Reply With Quote #4

fm_strip_user_gun(id) strips the current weapon from a player.

If you want to remove a specific weapon from him, you have to pass the weapon type OR the weapon name, simple seems to be weapon name :

PHP Code:
fm_strip_user_gun(id, .wname="weapon_c4"
PHP Code:
fm_strip_user_gun(idCSW_C4
PHP Code:
fm_strip_user_gun(id_"weapon_c4"
PHP Code:
fm_strip_user_gun(id0"weapon_c4"
]wrecked_
If you pass weapontype, weaponname is just ignored.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



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 07:07.


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