10.10.2010, 15:00
Try this:
pawn Код:
COMMAND:command(playerid, params[])
{
if(sscanf(params, "s[20]I(-1)", name, slot)) return // blablablalalala
if(strcmp(name,"putin",true) == 0)
{
if(slot == -1)
return YourStuffHere //slot is '-1' , which means it isn't changed from the default value, which again means that player didn't put anything in the second param
/* Do your stuff */
}
else // if 'putin' isn't the first param put
}

