Участник
Пользователь
- Сообщения
- 278
- Реакции
- 137
Hello guys,
I am trying to block dropping a weapon. I try to use reapi instead of register_clcmd("drop"
But I see that this plugin doesn't see the name of weapon.
It shows my nickname everytime. Where is the mistake?
I am trying to block dropping a weapon. I try to use reapi instead of register_clcmd("drop"
But I see that this plugin doesn't see the name of weapon.
PHP:
RegisterHookChain(RG_CBasePlayer_DropPlayerItem, "@CBasePlayer_DropPlayerItem", .post=false);
@CBasePlayer_DropPlayerItem(const id, const itemname[])
{
client_print_color(0, 0, itemname);
}