Forbid Weapon Drop
This plugin is SAFE for demo recording. -Fatalis
Forbid Weapon Drop
Description
This plugin is for auto removal of dropped weapon to avoid dropping them on bhop blocks which will cause in a infinite moving of the blocks until someone removes the weapon on his own. It will also make admins able to disallow and allow dropping of weapons.
More information in the readme.txt!
DOWNLOAD ME!
update
great plugin thx
didnt understand and i cant download now. can explain for me?
very nice plugin dling now
Originally posted by ikmdidnt understand and i cant download now. can explain for me?
When someone drops a weapon, it gets removed (it's no more on the ground), so it prevents dropping the weapon on bhop block, so the block doesn't go up & down because of the weapon on it.
Insted of:
register_clcmd("drop",...);
use:
pubic client_command(id)
{
static s_iCmd[6];
read_argv(0, s_iCmd, 5);
if( equali(s_iCmd, "drop") )
// here do your function...
}
Cuz you can fool this cmd using something like:
alias fool_this_plugin "say any_cmd_here_but_say_is_will_do_also;drop"
And now typing in console "foll_this_plugin" it wont detect "drop" cmd...
In fact I didn't understood at all why you are blocking drop, when they are removed anyway..?
cause some ppl may just want to disallow dropping but they do not want to remove weapons numb anyway i will change the way
update
i have problem in my server console
L 07/09/2008 - 09:25:42: [FAKEMETA] Invalid entity
L 07/09/2008 - 09:25:42: [AMXX] Run time error 10 (plugin "forbid_weapon_drop.amxx") (native "engfunc") - debug not enabled!
L 07/09/2008 - 09:25:42: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
How can i fix it ?
[AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
always do this to get a more detailed error message which does exactly show what errir happen and which part of the code made it happen.
anyway should be fixed now
L 07/10/2008 - 08:17:15: [FAKEMETA] Invalid entity
L 07/10/2008 - 08:17:15: [AMXX] Displaying debug trace (plugin "forbid_weapon_drop.amxx")
L 07/10/2008 - 08:17:15: [AMXX] Run time error 10: native error (native "engfunc")
L 07/10/2008 - 08:17:15: [AMXX] [0] forbid_weapon_drop.sma::tskRemoveWeaponbox (line 93)
sry uploaded the wrong version :E try downloading it again pls
Thanks man :)
L 08/18/2009 - 00:55:29: Start of error session.
L 08/18/2009 - 00:55:29: Info (map "kz_longjumps2") (file "addons/amxmodx/logs/error_20090818.log")
L 08/18/2009 - 00:55:29: [HAMSANDWICH] Function hamSpawnWeaponboxPost not found.
L 08/18/2009 - 00:55:29: [AMXX] Displaying debug trace (plugin "forbid_weapon_drop.amxx")
L 08/18/2009 - 00:55:29: [AMXX] Run time error 10: native error (native "RegisterHam")
L 08/18/2009 - 00:55:29: [AMXX] [0] forbid_weapon_drop.sma::plugin_init (line 28)
liverpool what version of amxx do you have?
And you have hamsandwich module activated right?
Originally posted by Alucard^liverpool what version of amxx do you have?
And you have hamsandwich module activated right?
The latest version of amxx 1.8.3
Yes activated module hamsandwich
does it remove scout from hands?
No.
could you make it?
Please log in to post replies.