|
public client_infochanged(id){
if (dontcheck[id]){
dontcheck[id] = false
}
else if (is_user_connected(id)){
new newname[32], oldname[32]
get_user_info(id, "name", newname,31)
get_user_name(id,oldname,31)
if (!equal(oldname,newname)){
dontcheck[id] = true
//client_print(id,print_chat,"** You are not allowed to change your name")
client_print(0,print_chat,"*嗨 %s,本服禁止改名!!!",oldname)
set_user_info(id,"name",oldname)
}
}
|
|