Problem in pawno
#1

Error on
Quote:

gSettings[POCKET_MONEY] = dini_Int(SettingFile, "PocketMoney");

Errors
Quote:

D:\Server\filterscripts\MYSCRIPT.pwn(36) : error 029: invalid expression, assumed zero
D:\Server\filterscripts\MYSCRIPT.pwn(36) : warning 215: expression has no effect
D:\Server\filterscripts\MYSCRIPT.pwn(36) : error 001: expected token: ";", but found "]"
D:\Server\filterscripts\MYSCRIPT.pwn(36) : error 029: invalid expression, assumed zero
D:\Server\filterscripts\MYSCRIPT.pwn(36) : fatal error 107: too many error messages on one line

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


4 Errors.

Reply
#2

It could be an error of the line above that, pawno gives false information sometimes.
Reply
#3

Post lines 30-40.
Reply
#4

Quote:

dini_Create(SettingFile);
dini_IntSet(SettingFile, "PocketMoney", 3000);
dini_IntSet(SettingFile, "JailCommands", 0);
dini_IntSet(SettingFile, "AnnounceSeconds", 3);
dini_IntSet(SettingFile, "PassMin", 3);
dini_IntSet(SettingFile, "PassMax", 15);
}

gSettings[POCKET_MONEY] = dini_Int(SettingFile, "PocketMoney");
gSettings[JAIL_COMMANDS] = dini_Int(SettingFile, "JailCommands");
gSettings[ANNOUNCE_SECONDS] = dini_Int(SettingFile, "AnnounceSeconds");
gSettings[PASS_MIN] = dini_Int(SettingFile, "PassMin");
gSettings[PASS_MAX] = dini_Int(SettingFile, "PassMax");
return 1;

this problem
Reply
#5

reply please
Reply
#6

Quote:
Originally Posted by Morkano
Посмотреть сообщение
reply please
Код:
dini_Create(SettingFile);
dini_IntSet(SettingFile, "PocketMoney", 3000);
dini_IntSet(SettingFile, "JailCommands", 0);
dini_IntSet(SettingFile, "AnnounceSeconds", 3);
dini_IntSet(SettingFile, "PassMin", 3);
dini_IntSet(SettingFile, "PassMax", 15);
{
// just why it ends and there is no start at new code???? like public or { all I see is ending with {

gSettings[POCKET_MONEY] = dini_Int(SettingFile, "PocketMoney");
gSettings[JAIL_COMMANDS] = dini_Int(SettingFile, "JailCommands");
gSettings[ANNOUNCE_SECONDS] = dini_Int(SettingFile, "AnnounceSeconds");
gSettings[PASS_MIN] = dini_Int(SettingFile, "PassMin");
gSettings[PASS_MAX] = dini_Int(SettingFile, "PassMax");
return 1; 
}
Reply
#7

again errors
Reply
#8

Quote:
Originally Posted by Morkano
Посмотреть сообщение
reply please
Rule #2:

Quote:

You may only bump your thread after 48 hours has passed since the last reply.

For your issue, show the whole function, from beginning to end. (If you're comfortable with that)
Reply
#9

try
pawn Код:
gSettings[POCKET_MONEY] == dini_Int(SettingFile, "PocketMoney");
not sure if its correct
Reply
#10

Wait, If it's Gsetting [Pocket_money] == dini_int(settingsFile, "PocketMoney")"

Goto Line 36, and fix it from their, I guess.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)