#include problem...
#1

I was updating DYBANK system but I saw a really big problem... This is my file wich has DYBANK system on updating...
http://solidfiles.com/d/3d36f/
Please help me

Код:
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(36) : error 017: undefined symbol "strtok"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(120) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(120) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(144) : warning 219: local variable "file" shadows a variable at a preceding level
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(144) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(158) : error 055: start of function body without function header
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(160) : error 021: symbol already defined: "GetPlayerName"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(161) : error 010: invalid function or declaration
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(162) : error 010: invalid function or declaration
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(163) : error 010: invalid function or declaration
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(168) : error 021: symbol already defined: "dini_IntSet"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(170) : error 021: symbol already defined: "format"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(172) : error 021: symbol already defined: "dini_IntSet"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(173) : error 021: symbol already defined: "format"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(175) : error 010: invalid function or declaration
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(254 -- 255) : error 029: invalid expression, assumed zero
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(267 -- 268) : error 029: invalid expression, assumed zero
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(276) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(276) : warning 215: expression has no effect
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(276) : error 001: expected token: ";", but found "return"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(278) : warning 225: unreachable code
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(280) : error 017: undefined symbol "P_DATA"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(280) : warning 215: expression has no effect
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(280) : error 001: expected token: ";", but found "]"
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(280) : error 029: invalid expression, assumed zero
C:\Users\PcUcan1\Desktop\Yiğit\SA\SAMP-Server2\filterscripts\DYBank.pwn(280) : fatal error 107: too many error messages on one line
Reply
#2

lol you forgot a } in a callback check ^^
Reply
#3

lack of key }
Reply
#4

Mhm... Wich line?
Reply
#5

We can't tell you which line if we can't see the script. But since you don't know it I think it's impossible for us to see it if you won't send us your whole script.

Your script isn't really big (as I can see on the error), you could try to find it yourself by searching for a missing bracket ("}") at every "if statements".
Reply
#6

I sent the script!
http://solidfiles.com/d/3d36f/
Reply
#7

Oh, sorry. Try to find those lines:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
}
{
Then remove the last 2 brackets
pawn Код:
}
{
Reply
#8

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
Oh, sorry. Try to find those lines:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
}
{
Then remove the last 2 brackets
pawn Код:
}
{
Couln't find something like that...
I found

{
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)