sscanf problem
#4

It works, alright, but you need to alter the statement a bit. You see, cmdtext also includes the command itself. You can use either of these to patch it:

pawn Код:
if(sscanf(cmdtext[8], "d", skindid))
pawn Код:
if(sscanf(cmdtext, "{s[128]}d", skinid))
Second option seems to be the more viable one, as it can be copied to other commands more easily.
Reply


Messages In This Thread
sscanf problem - by MarkzD - 01.02.2013, 19:14
Re: sscanf problem - by Shakie - 01.02.2013, 19:21
Re: sscanf problem - by Riddy - 01.02.2013, 19:23
Re: sscanf problem - by Vince - 01.02.2013, 19:57
Re: sscanf problem - by MarkzD - 01.02.2013, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)