[done] weapons Plug

Started by drhystero
14 Oct 2007, 21:18
Read-Only
Page 1 of 1
14 Oct 2007, 21:18

Hi guys and thank to be here... ( sorry for my anglish)

Can u midif this plug by SchlumPF about weapons : the problem is when people drop their guns on the block that make a bug, block go up and down for ever.. :mad:

Is it possible to block the drop key ? people keep guns and that all :P


Tahnk ++
[ Edited ]

14 Oct 2007, 21:35

http://kmeyer666.km.funpic.de/amxx/RemoveDroppedWeapons.rar
removedropepdweapons (0/1) to disable/enable it :P

[ Edited 10/14/07 - 21:39:32 ]

14 Oct 2007, 23:01

thaank you very much to have been so fast :P

i ll test and i close the topic thxxxxxx

15 Oct 2007, 00:53

ok its perfect thx dude..

15 Oct 2007, 21:56

can u upload that to somewhere else pls? thx

16 Oct 2007, 01:45

Here the code

[blockquote]#include
#include

#define PLUGIN "Remove dropped Weapons"
#define VERSION "1.0"
#define AUTHOR "SchlumPF"

new remove

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

remove = register_cvar("removedroppedweapons","1")

register_forward(FM_SetModel,"ForwardSetModel")
}

public ForwardSetModel(id,Model[])
{
if(get_pcvar_num(remove) == 1)
{
if(!pev_valid(id) || !strlen(Model))
return

static ClassName[33]
pev(id,pev_classname,ClassName,32)

if(equali(ClassName,"weaponbox"))
set_task(0.1,"RemoveGun",id)
}
}

public RemoveGun(id)
{
if(pev_valid(id)) {
engfunc(EngFunc_RemoveEntity,id)
}
}[/blockquote]

NikSHaaa
17 Sep 2008, 23:03

....doesn't working......
Give code , or uplaod amxx

18 Sep 2008, 15:51

http://xtreme-jumps.eu/e107_plugins/forum/forum_viewtopic.php?102419

http://www.albinoblacksheep.com/flash/posting

Page 1 of 1