SA-MP Forums Archive
Please help me with this error - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help me with this error (/showthread.php?tid=200586)



Please help me with this error - litesp - 18.12.2010

Код HTML:
C:\Users\Orre\Desktop\samp server\filterscripts\Admin.pwn(55) : error 017: undefined symbol "gSettings"
C:\Users\Orre\Desktop\samp server\filterscripts\Admin.pwn(55) : error 017: undefined symbol "POCKET_MONEY"
C:\Users\Orre\Desktop\samp server\filterscripts\Admin.pwn(55) : error 029: invalid expression, assumed zero
C:\Users\Orre\Desktop\samp server\filterscripts\Admin.pwn(55) : fatal error 107: too many error messages on one line

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


4 Errors.
Please help, what should i do?


Re: Please help me with this error - Face9000 - 18.12.2010

Post line 55.

This forum requires that you wait 60 seconds between posts. Please try again in 22 seconds.


Re: Please help me with this error - litesp - 18.12.2010

Код HTML:
gSettings[POCKET_MONEY] 		= dini_Int(SettingFile, "PocketMoney");



Re: Please help me with this error - Face9000 - 18.12.2010

Have you added:

Код:
new gSettings[POCKET_MONEY];
Before that line?


Re: Please help me with this error - litesp - 18.12.2010

Im getting the same errors but now on line 54 where i added that


Re: Please help me with this error - rs.pect - 18.12.2010

POCKET_MONEY and gSettings aren't defined.

E.x.:
pawn Код:
#define POCKET_MONEY 2
new gSettings[10];



Re: Please help me with this error - litesp - 18.12.2010

Where should i add these? Im kinda newb


Re: Please help me with this error - Face9000 - 18.12.2010

Oh yeah sorry.

Add it on the top of the script.


Re: Please help me with this error - litesp - 18.12.2010

Doesn't work, still getting the same errors


Re: Please help me with this error - Face9000 - 18.12.2010

Код:
#define POCKET_MONEY 0