Changing a players name
#5

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
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
Yes, SaveStats is saving the id's stats. I have this stock though:

PHP код:
stock frename(oldname[],newname[]) {
                if (!
fexist(oldname)) return false;
                
fremove(newname);
                if (!
fcopy(oldname,newname)) return false;
                
fremove(oldname);
                return 
true;
            } 
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)