View Single Post
  #46  
Old 07-22-2009, 04:35 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by Pelikano View Post
Apperentially some people have scripting problems, even thought FindPlayerByCommunityName() exists, Chris said it doesn't solve all problems tho.

I even once heard people complaining about the function being too long, z_Z.
Normally you don't need it often though, use the account name for identification. You might need it if you want to search for players by name, but then you also need to check for nick names.
I only see problems with very old scripts, e.g. you make a bank and remember the amount stored with accountname=amount (or you remember the members of a gang or so), and then when you want to display all accounts to a player then you don't know the nick name or community name. For that case it's better to remember more information about the player (amount, nickname, last bank usage time etc.).
The community name is more like a registered nick name which enables you to use '*Stefan' as nick name.
Reply With Quote