No name...
#4

Heh, you can still redefine it at your own
pawn Код:
#undef MAX_PLAYER_NAME
#define MAX_PLAYER_NAME 30 // ? or more
And also usefull thing..
pawn Код:
enum
       plyr
{
Name[MAX_PLAYER_NAME],
// anything else?
}
new Player[MAX_PLAYERS][plyr];

public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, Player[playerid][Name], MAX_PLAYER_NAME);
return 1;
}
With this baby you dont have to GetPlayerName over and over again..

Greetz,
LetsOWN
Reply


Messages In This Thread
No name... - by Vizi - 20.02.2013, 10:52
Re: No name... - by LetsOWN[PL] - 20.02.2013, 11:02
Re: No name... - by Patrick - 20.02.2013, 11:04
Re: No name... - by LetsOWN[PL] - 20.02.2013, 11:11
Re: No name... - by Vizi - 20.02.2013, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)