25.04.2014, 18:33
Since you use GetName as function, do:
You can know use GetName as function but make sure to use it to connected players only because if you pass INVALID_PLAYER_ID in it, it will cause run time error 4.
The rest symbols are not defined so it's like you copied them from somewhere. I cannot help you on that.
pawn Код:
// global:
static
Player_Name[MAX_PLAYERS][21];
#define GetName(%0) Player_Name[%0]
// OnPlayerConnect (at the top of it):
GetPlayerName(playerid, Player_Name[playerid], 21);
The rest symbols are not defined so it's like you copied them from somewhere. I cannot help you on that.