Errors.
#1

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
Reply
#2

Anyone?
Reply
#3

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.
Reply
#4

And what should I do with playerDB?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)