SA-MP Forums Archive
ID bug when I update sscanf. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: ID bug when I update sscanf. (/showthread.php?tid=514597)



ID bug when I update sscanf. - PrinceOfPersia - 22.05.2014

Hey guys, when I update sscanf, re-compiling the .pwn, it continues.

Like, when I ban ID 3, it bans ID 0, I kick id 2, it kicks id 3

Or, when there's a player which his id is 2, I try to kick him it tells me "Invalid player specified"


Re: ID bug when I update sscanf. - SaltySandy - 22.05.2014

Could you hand me a set of the server log, as from where it bans you? Perhaps delete your log file, get a fresh server start, ban someone and hand us that.


Re: ID bug when I update sscanf. - PinEvil - 22.05.2014

Lmao, Wtf?

Quote:
Originally Posted by SaltySandy
Посмотреть сообщение
Could you hand me a set of the server log, as from where it bans you? Perhaps delete your log file, get a fresh server start, ban someone and hand us that.
Also, copy & paste the code you used for kick & ban.

Edit <Try this>

Код:
if(sscanf(params, "rs[128]"



Re: ID bug when I update sscanf. - SaltySandy - 22.05.2014

Quote:
Originally Posted by PinEvil
Посмотреть сообщение
Lmao, Wtf?



Also, copy & paste the code you used for kick & ban.

Edit <Try this>

Код:
if(sscanf(params, "rs[128]"
Since this can be caused by a variety of things, an error report might sort some things out.


Re: ID bug when I update sscanf. - PrinceOfPersia - 22.05.2014

It's not just for the banning yet it's for the all admin commands.


Re: ID bug when I update sscanf. - iZN - 22.05.2014

If you're using the PAWN version (stock sscanf...) one, remove the whole function and get the latest sscanf plugin!

If that didn't solve it, show your code and post that on Scripting Help though.