04.08.2013, 13:34
pawn Код:
enum a
{
name[MAX_PLAYER_NAME]
}
new array[MAX_PLAYERS][a];
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, array[playerid][str], MAX_PLAYER_NAME);
}
stock returnNAME_(playerid, const name[], const size = sizeof(name) )
{
return format(name, size, "%s", array[playerid][str];
}