sscanf ID Bug - 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 ID Bug (
/showthread.php?tid=446892)
sscanf ID Bug -
Tuff - 27.06.2013
Hey guys
I am using SSCANF last verison of ****** but i have players ID Bug again...
Why? Answer please Thanks, i will +rep if i fixed it from you

NOTE: I have all plugins - includes updated...
Re: sscanf ID Bug -
park4bmx - 27.06.2013
here we go with the guessing game
AGAIN!!
Re: sscanf ID Bug -
Tuff - 27.06.2013
Please Don't abuse the topic, Just answer if you don't know, Then don't reply
Re: sscanf ID Bug -
park4bmx - 27.06.2013
players ID Bug again...

is that all your description ?
not even code shown.. ahh nvm
Re: sscanf ID Bug -
Tuff - 27.06.2013
I am just a biggner in scripting so...
AW: sscanf ID Bug -
HurtLocker - 27.06.2013
use either "d" instead of "u"
OR use "u" but with invalid_player_id instead of isplayerconnected
Re: sscanf ID Bug -
Tuff - 27.06.2013
lol...Where can i edit that HurtLocker?
AW: sscanf ID Bug -
HurtLocker - 27.06.2013
you joke man? in the lines you use the function
Re: sscanf ID Bug -
Tuff - 27.06.2013
LOl my script has over 4000 Lines..How could edit that all Lol
Re: sscanf ID Bug -
ViruZz - 27.06.2013
Alright, where you're using your sscanf function, you will see you have something like this
pawn Код:
if(sscanf(params, "u", playerid)) return SendClientMessage(playerid, -1, "USAGE: /command [player]");
The U Specifies so you don't have to use the ID, you can just insert a part of the player name. Make sure you update and compile to the latest sscanf2 version as well.