03.05.2015, 21:22
pNormalName is an not a function but a variable. It has to be an array and it must be like:
Also change to:
in the format.
You're supposed to get the name on connect and store it (assuming you already do, but anyway):
pawn Код:
new pNormalName[MAX_PLAYERS][MAX_PLAYER_NAME];
pawn Код:
pNormalName[playerid]
You're supposed to get the name on connect and store it (assuming you already do, but anyway):
pawn Код:
// OnPlayerConnect:
GetPlayerName(pNormalName[playerid], playerid, MAX_PLAYER_NAME);