It works, how may i add more default names? like the name "Player" name
I know its this line but how do i add more names?
And also how can i make it so they have the same name from the list on other servers aswell? ( if possible )
PHP Code:
public client_infochanged(id) // This changes a user's name to one of the predefined names
{
static newname[32]
get_user_info(id, "name", newname, charsmax(newname))
if( equali(newname, "Player") )
{
set_player_name(id)
}
}