What have I done wrong? [sscanf2]
#5

Just remember that whenever you're using 's' specifier, you need to use the lenght as well.

For example:
pawn Код:
if(sscanf(params,"us",id,reason))
becomes:
pawn Код:
if(sscanf(params,"us[35]",id,reason))
Reply


Messages In This Thread
What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:20
Re: What have I done wrong? [sscanf2] - by NotIntegrated - 28.07.2013, 11:26
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:26
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:36
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:40
Re: What have I done wrong? [sscanf2] - by NotIntegrated - 28.07.2013, 11:41
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:43
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:46
Re: What have I done wrong? [sscanf2] - by Hargrave - 28.07.2013, 11:50
Re: What have I done wrong? [sscanf2] - by Konstantinos - 28.07.2013, 11:53

Forum Jump:


Users browsing this thread: 4 Guest(s)