07.10.2009, 18:14
pawn Code:
new PlayerName[MAX_PLAYER_NAME], PlayerString[MAX_PLAYERS][MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(PlayerString[playerid], sizeof(PlayerString), "%s", PlayerName);
Once you have stored it, you can use it (example):
pawn Code:
SetPlayerName(playerid, PlayerString[playerid]);