|
发表于 2016-9-16 00:27:39
|
显示全部楼层
来自 中国–湖北
public client_infochanged(id)
{
if (!is_user_connected(id) || !get_cvar_num("amx_mode"))
{
return PLUGIN_CONTINUE
}
new newname[32], oldname[32]
get_user_name(id, oldname, 31)
get_user_info(id, "name", newname, 31)
if (!equali(newname, oldname))
{
accessUser(id, newname)
}
return PLUGIN_CONTINUE
}
这段没删除吧 |
|