Five errors
#4

Since you use GetName as function, do:
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);
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.
Reply


Messages In This Thread
Five errors - by -Shifty- - 25.04.2014, 17:53
Re: Five errors - by Konstantinos - 25.04.2014, 18:00
Re: Five errors - by -Shifty- - 25.04.2014, 18:26
Re: Five errors - by Konstantinos - 25.04.2014, 18:33
Re: Five errors - by -Shifty- - 25.04.2014, 18:46

Forum Jump:


Users browsing this thread: 1 Guest(s)