Changing a players name
#4

Quote:
Originally Posted by Logic_
Посмотреть сообщение
Because you're doing it wrong. You will need to recreate the player file after you delete it (just like you do in the registration) and then save their stats! That's why we recommend SQL as the saving system, you don't need to struggle with any kind of bullshit, straight forward and easy.
if you would have taken a better look on his code, you would've noticed that he is doing that:
SaveStats(id);

Also be sure that SaveSats saves the stats for ID and not playerid
Reply


Messages In This Thread
Changing a players name - by Uvais - 07.01.2018, 12:27
Re: Changing a players name - by jasperschellekens - 07.01.2018, 13:28
Re: Changing a players name - by Logic_ - 07.01.2018, 13:47
Re: Changing a players name - by jasperschellekens - 07.01.2018, 13:55
Re: Changing a players name - by Uvais - 07.01.2018, 14:13

Forum Jump:


Users browsing this thread: 1 Guest(s)