line: OldName[id] = oldname;
i think you cant do that with string, but theres two ways: copy or formatex
so i think it would go:
Code:
formatex( OldName[ id ], charsmax( OldName[] ), oldname )
about adding kick/ban you must do register_clcmd( "amx_ban", "ban_func" ) and then in ban_func read arguments...and then this plugin must be placed before your amx_ban.amxx plugin in plugins.ini
__________________