Please help me with this error
#1

Код 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?
Reply
#2

Post line 55.

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

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

Have you added:

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

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

POCKET_MONEY and gSettings aren't defined.

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

Where should i add these? Im kinda newb
Reply
#8

Oh yeah sorry.

Add it on the top of the script.
Reply
#9

Doesn't work, still getting the same errors
Reply
#10

Код:
#define POCKET_MONEY 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)