Well, nevermind. I know how to do it.
But, I'm also working on something so names cannot be changed, but whenever I execute this on a person...
Code:
public client_infochanged(id){
new old[32]
new playername[32]
get_user_info(id,"name",playername,31)
get_user_name(id,oldname,31)
client_cmd(id,"name %s",oldname)
}
To force the name back, it will keep switching between the old and the new, because they both become old whenever the other one becomes new, so it keeps forcing back and forth.