SA-MP Forums Archive
sscanf help.. - 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)
+--- Thread: sscanf help.. (/showthread.php?tid=444147)



sscanf help.. - JoshP - 15.06.2013

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?


Re: sscanf help.. - Scenario - 15.06.2013

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


Re: sscanf help.. - JoshP - 15.06.2013

@***** 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.


Re: sscanf help.. - Scenario - 15.06.2013

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

Show me the errors.


Re: sscanf help.. - JoshP - 15.06.2013

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.


Re: sscanf help.. - JoshP - 15.06.2013

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?


Re: sscanf help.. - JoshP - 15.06.2013

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


Re: sscanf help.. - BigGroter - 15.06.2013

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


Re: sscanf help.. - Scenario - 15.06.2013

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?


Re: sscanf help.. - JoshP - 15.06.2013

Got a new script now, thanks anyway man!