Properly using fm_strip_user_gun
I'm using this with the logevent spawned_with_bomb
This is what it says: fm_strip_user_gun( id, wid, const wpname[]="" ) If the wid of the C4 is 6, and the weapon name is CSW_C4, would it be: fm_strip_user_gun( id, 6, CSW_C4 ) Or do I only need to use 2 of the 3 arguements |
Re: Properly using fm_strip_user_gun
CSW_C4 is an integer and is equal to 6. Weapon name is a string. Probably something like "weapon_gun".
Code:
fm_strip_user_fun(id, CSW_C4) |
Re: Properly using fm_strip_user_gun
Code:
|
Re: Properly using fm_strip_user_gun
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:
PHP Code:
PHP Code:
PHP Code:
If you pass weapontype, weaponname is just ignored. |
| All times are GMT -4. The time now is 07:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.