Stuff
public text v1 · immutablepublic cmd_dmg(id)
{
if(is_user_alive(id) && id != 0) pug_msg_tmp_empty(id,"PUG_CMD_NOTALLOWED");
else
{
if(read_argc() == 1) display_dmg_all(id)
else
{
static name[32]
read_argv(1,name,31)
new target = cmd_target(id,name,2)
if(!target) return pug_msg_tmp_empty(id,"PUG_CMD_NOTARGET")
if(!display_dmg(id,target))
{
get_user_name(target,name, 31)
client_print(id,print_chat,"%s %L",pug_header,id,"PUG_AUX_NO_TARGET_DMG",name)
}
}
}