hi all
can you make this plugin to:
show message to both
player and
Admin
(now it only show's msg to Player )
PHP Code:
public cmdUngag(id, level, cid)
{
if(!cmd_access(id, level, cid, 2))
return 1;
new bool:user_gagged[33];
new target[32], admin[32];
read_argv(1, target, 31);
new iTarget = cmd_target(id, target, 8);
if (!iTarget)
return PLUGIN_HANDLED;
get_user_name(id,admin,31)
user_gagged[iTarget] = false
client_print(iTarget, print_chat, "*** [%s] Admin %s Ungaged you", PLUGIN,admin)
return 1
}
Some thing like :
PHP Code:
console_print(admin, print_chat, "*** [%s] Player %s Has been Ungaged ", PLUGIN,player)
ty