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

i dont know what you mean by #2 sorry

but also in that code, when updating nick, its more logical to do with steamid as condition no oldnick...
so
Code:
formatex( MySQL_Query, charsmax( MySQL_Query ), "UPDATE `online_players` SET `username` = '%s' WHERE `username` = '%s'", get_user_name_ex(id), OldName[id] )

->

formatex( MySQL_Query, charsmax( MySQL_Query ), "UPDATE `online_players` SET `username` = '%s' WHERE `steamid` = '%s'", get_user_name_ex(id), get_user_steamid_ex(id) )
__________________
KZ Public Autocup - PrimeKZ

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

Last edited by JocAnis; 04-28-2019 at 15:32.
JocAnis is offline