Can I user it that way?
I want to disable pickups only for those who uses "/giveme" command.
PHP Code:
public plugin_init()
{
register_clcmd("say /giveme", "cmd_GiveWeapon")
RegisterHam( Ham_Touch, "weaponbox", "ham_TouchWeapon" ) //all dropped weapons
RegisterHam( Ham_Touch, "armoury_entity", "ham_TouchWeapon" ) //all default map weapons
RegisterHam( Ham_Touch, "weapon_shield", "ham_TouchWeapon" ) //all shields
}
public cmd_GiveWeapon(id)
{
public ham_TouchWeapon( /* iEnt, id */ )
{
return HAM_SUPERCEDE;
}
}
__________________