[done] weapons Plug
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 ]
http://kmeyer666.km.funpic.de/amxx/RemoveDroppedWeapons.rar
removedropepdweapons (0/1) to disable/enable it :P
[ Edited 10/14/07 - 21:39:32 ]
thaank you very much to have been so fast :P
i ll test and i close the topic thxxxxxx
ok its perfect thx dude..
can u upload that to somewhere else pls? thx
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]
....doesn't working......
Give code , or uplaod amxx
http://xtreme-jumps.eu/e107_plugins/forum/forum_viewtopic.php?102419
http://www.albinoblacksheep.com/flash/posting