Help ERROR
#2

pNormalName is an not a function but a variable. It has to be an array and it must be like:
pawn Код:
new pNormalName[MAX_PLAYERS][MAX_PLAYER_NAME];
Also change to:
pawn Код:
pNormalName[playerid]
in the format.

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);
Reply


Messages In This Thread
Help ERROR - by SHFaCeBook - 03.05.2015, 21:13
Re: Help ERROR - by Konstantinos - 03.05.2015, 21:22
Re: Help ERROR - by SHFaCeBook - 03.05.2015, 21:35
Re: Help ERROR - by SHFaCeBook - 03.05.2015, 22:08
Re: Help ERROR - by Joe Staff - 03.05.2015, 22:16
Re: Help ERROR - by SHFaCeBook - 03.05.2015, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)