undefined symbol "PlayerName2"
#1

Код:
D:\Jocuri\SAMP SERVERS\SERVERUL MEU\gamemodes\xpllor.pwn(1579) : error 017: undefined symbol "PlayerName2"
D:\Jocuri\SAMP SERVERS\SERVERUL MEU\gamemodes\xpllor.pwn(1583) : error 017: undefined symbol "PlayerName2"
1579:
Код:
	format( TDString[ 0 ], 180, "   ~g~~h~%s ~w~~h~Has Gone To ~r~~h~%s ~w~~h~- /%s -", PlayerName2( playerid ), message, tname);
1583:
Код:
format( TDString[ 0 ], 180, "   ~g~~h~%s ~w~~h~Has Gone To ~r~~h~%s ~w~~h~- /%s -", PlayerName2( playerid ), message, tname);
Reply
#2

Probably you forgot to create a stock for those or you haven't any "new PlayerName2" on that command or something.

You should create a stock (My Opinion)

pawn Код:
stock pName(playerid)
{
    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    return pName;
}
Reply
#3

thanx i come with an edit when dont work
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)