Forbid Weapon Drop

Started by SchlumPF
09/06/2008 17:47
Page 1 of 1
SchlumPF09/06/2008 17:47(edited 27/06/2008 07:17)

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!

SchlumPF26/06/2008 12:30

update

akkord mapper26/06/2008 18:46

great plugin thx

lonewolf VIP27/06/2008 03:39

didnt understand and i cant download now. can explain for me?

pLaguE^27/06/2008 05:20

very nice plugin dling now

cC|Nikolaa27/06/2008 08:48

Originally posted by ikm
didnt 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.

NumB27/06/2008 10:07(edited 27/06/2008 23:03)

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..?

SchlumPF27/06/2008 14:16(edited 27/06/2008 14:36)

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

nPoc7o o7k@4eH09/07/2008 08:29(edited 09/07/2008 08:29)

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 ?

SchlumPF11/07/2008 02:38

[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

nPoc7o o7k@4eH11/07/2008 07:18

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)

SchlumPF13/07/2008 15:14

sry uploaded the wrong version :E try downloading it again pls

nPoc7o o7k@4eH13/07/2008 17:40

Thanks man :)

liverpool17/08/2009 22:57

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)

Alucard^25/08/2009 07:11

liverpool what version of amxx do you have?

And you have hamsandwich module activated right?

liverpool25/08/2009 09:06

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

waplet17/09/2009 20:42

does it remove scout from hands?

doktor22/11/2009 23:25

No.

waplet23/11/2009 15:15

could you make it?

doktor28/11/2009 12:33
Page 1 of 1

Please log in to post replies.