28.03.2014, 23:05
I will make it easier for you to understand what Vince meant.
Now, replace "GetPlayerName(playerid)" with "GetName(playerid)" and you're done.
pawn Код:
// global:
new Player_Name[MAX_PLAYERS][21];
#define GetName(%0) Player_Name[%0]
// OnPlayerConnect:
GetPlayerName(playerid, Player_Name, 21);