@
PrEn1umz : it's something like this:
PHP Code:
public fw_setmodel(ent,const model[])
{
if(!pev_valid(ent))
return FMRES_IGNORED;
static classname[32]
pev(ent,pev_classname,classname,31);
if(!strcmp(classname, "weaponbox") || !strcmp(classname, "armoury_entity") || !strcmp(classname, "grenade"))
{
// change model
return FMRES_SUPERCEDE;
}
return FMRES_IGNORED;
}
but is not what i'm looking for...i want an event/function when a player has drop a weapon...and check if the weapon is x for example.
__________________