01.02.2013, 19:57
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:
Second option seems to be the more viable one, as it can be copied to other commands more easily.
pawn Код:
if(sscanf(cmdtext[8], "d", skindid))
pawn Код:
if(sscanf(cmdtext, "{s[128]}d", skinid))