14.11.2012, 20:50
I get this and many others error which are almost the same..
and i have all of this funcion in my gamemode
and all others but i'm getting this error on some simple message
any ideas?
pawn Код:
error 017: undefined symbol "PlayerName"
pawn Код:
stock PlayerName(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name, sizeof(name));
return name;
}
pawn Код:
format(string, 128, "test: %s", PlayerName(playerid));
SendClientMessage(playerid, -1, string);