01.12.2012, 03:28
It's the same, you replace the variable "string" with "params"
and in game you just type /test hey hey hey,whats,up
pawn Код:
CMD:test(playerid, params[])
{
new str1[42], str2[42], str3[42];
sscanf(params, "p<,>s[42]s[42]s[42]", str1, str2, str3);
printf("%s | %s | %s", str1, str2, str3);
return 1;
}