SA-MP Forums Archive
error very easy prob (i think) - 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: error very easy prob (i think) (/showthread.php?tid=168623)



error very easy prob (i think) - kamzaf - 16.08.2010

hi guys i first and 26 problems when i compiled my script but after i followred what other people said it got 4 now thos 4 problems wont go away even if i add any think on to it. those probs are


Код:
C:\Documents and Settings\Administrator\Desktop\GTA\GTA SERVER\filterscripts\adminf.pwn(35) : error 017: undefined symbol "gSettings"
C:\Documents and Settings\Administrator\Desktop\GTA\GTA SERVER\filterscripts\adminf.pwn(35) : error 017: undefined symbol "POCKET_MONEY"
C:\Documents and Settings\Administrator\Desktop\GTA\GTA SERVER\filterscripts\adminf.pwn(35) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\GTA\GTA SERVER\filterscripts\adminf.pwn(35) : fatal error 107: too many error messages on one line

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


4 Errors.
this is the line thats haveing probs

Код:
gSettings[POCKET_MONEY] 		= dini_Int(SettingFile, "PocketMoney");
please help and if you need to see what i wrote before and after go here

http://slo.pastebin.com/bHPzhRye



Re: error very easy prob (i think) - akis_tze - 16.08.2010

where did you find the script?


Re: error very easy prob (i think) - [XST]O_x - 16.08.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
where did you find the script?
https://sampwiki.blast.hk/wiki/Creating_...n_FilterScript

And the errors come since you haven't even defined gSettings and used POCKET_MONEY as you have defined PocketMoney.