SA-MP Forums Archive
Help me - 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: Help me (/showthread.php?tid=424471)



Help me - DAVIDXP - 22.03.2013

Hello sa-mp.com , I have a problem when i want compile my GM:
Quote:

(379) : error 017: undefined symbol "PlayerName2"
(383) : error 017: undefined symbol "SaveToFile"
(392) : error 017: undefined symbol "SaveToFile"
(405) : error 017: undefined symbol "SaveToFile"
(430) : error 017: undefined symbol "PlayerName2"

This is script:
pawn Код:
(379) if (dUserINT(PlayerName2(playerid)).("banned") == 1) {
(383)SaveToFile("KickLog",string);  Kick(playerid);
(430)if ( !udb_Exists( PlayerName2( playerid ) ) )
Please help me to define this Linies


Re: Help me - freddy smyth - 22.03.2013

I think whatever script you got this from, you neglected the includes. Add the #include <file(s]> in at the very top of your script.