undefined symbol "PlayerName2" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol "PlayerName2" (
/showthread.php?tid=384586)
undefined symbol "PlayerName2" -
xplor09edy - 12.10.2012
Код:
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);
Re: undefined symbol "PlayerName2" -
GreekScripter - 12.10.2012
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;
}
Re: undefined symbol "PlayerName2" -
xplor09edy - 12.10.2012
thanx i come with an edit when dont work