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



Errors. - bornas - 13.03.2012

Hello, when i put SmartAss script ( https://sampforum.blast.hk/showthread.php?tid=271876 ) into my gm and started to compile appeared these errors:


\RGSF.pwn(13) : error 037: invalid string (possibly non-terminated string)
\RGSF.pwn(441) : error 010: invalid function or declaration
\RGSF.pwn(446) : error 017: undefined symbol "playerDB"
\RGSF.pwn(446) : warning 215: expression has no effect
\RGSF.pwn(446) : error 001: expected token: ";", but found "]"
\RGSF.pwn(446) : error 029: invalid expression, assumed zero
\RGSF.pwn(446) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.

Line:
13-#include ".../include/gl_common.inc

441-(From 439 to 442) -
RemoveObjectsForPlayer( playerid );

return true;
}


446- if(playerDB[playerid][zaidzia]){SavePlayerData(playerid,false);}


Sorry For Bad English


Re: Errors. - bornas - 13.03.2012

Anyone?


Re: Errors. - Kitten - 13.03.2012

Try not copy and pasting this is what you usually get read the error codes.

pawn Код:
\RGSF.pwn(446) : error 017: undefined symbol "playerDB"
If you read it, it clearly says undefined symbol "playerDB" means you did not define the variable

and RemoveObjectsForPlayer is not a valid function.


Re: Errors. - bornas - 14.03.2012

And what should I do with playerDB?