View Single Post
JocAnis
Veteran Member
Join Date: Jun 2010
Old 04-28-2019 , 15:01   Re: MYSQL if kicked/banned or change nickname doesnt update.
Reply With Quote #2

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
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline