Quote:
Originally Posted by DustyPorViva
stuff
|
findPlayer() will accept an account name; old or new, they're still accounts
findPlayerByCommunityName() will accept an account name or community name; players with old accounts have their account as their community name
Let's assume "Graal123" has a cname of "Bob"
PHP Code:
// work:
temp.pl = findPlayer("cbk1994");
temp.pl = findPlayerByCommunityName("cbk1994");
temp.pl = findPlayer("Graal123");
temp.pl = findPlayerByCommunityName("Graal123");
// don't work:
temp.pl = findPlayer("Bob");
The reason these commands are needed is not for findPlayer, but for when accounts are offline.