sscanf help..
#1

Well i've installed SSCANF from here - https://sampforum.blast.hk/showthread.php?tid=120356 and i made a folder named "Plugins" in my "Server" folder.

It's in there ive checked but when i try to load the Admin/register System By Infinty90 it says - adminandregister.pwn(19) : fatal error 100: cannot read from file: "sscanf"

any help?
Reply
#2

The include isn't "sscanf", it's "sscanf2".
Reply
#3

@***** Any idea what I need to do? I'll show you the script if you like mate.

@Realcop I already tried that mate, it just shows a bunch of errors, about 24.
Reply
#4

Just because it shows a bunch of errors, it doesn't mean you didn't include it properly.

Show me the errors.
Reply
#5

C:\Users\Desktop\server\filterscripts\adminandregi ster.pwn(101) : error 017: undefined symbol "foreach"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(103) : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(105) : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(194) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(195) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(211) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(213) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(221) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(233) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(235) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(267) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(269) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(277) : warning 217: loose indentation
C:\Users\Desktop\server\filterscripts\adminandregi ster.pwn(337) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(392) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(394) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(402) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(409) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(416) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(427) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(434) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(441) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(494) : error 017: undefined symbol "foreach"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(494) : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(635) : error 017: undefined symbol "foreach"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(637) : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(63 : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(639) : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(640) : error 017: undefined symbol "i"
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(840) : warning 217: loose indentation
C:\Users\\Desktop\server\filterscripts\adminandreg ister.pwn(861) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Errors.
Reply
#6

Yeah, I realise that now. It isn't my code though, so I don't really know much about it. "y_iterate" is YSI right?
Reply
#7

If someone has teamviewer please PM me, that would be great if u could help me that way. Or skype.
Reply
#8

It is your code. It's telling you what's the problem, mainly loose indentation.
Post your code, please.
Reply
#9

y_iterate is PART of the YSI library. It's basically the newer version of foreach. As for all of the other warnings (loose indentation), those are, as ****** said, due to messy code. If you cleaned up the look of the code I'm sure you could spot the errors quickly.

However, if this isn't your code... why are you using the mode?
Reply
#10

Got a new script now, thanks anyway man!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)