01.05.2010, 15:24
Quote:
Originally Posted by Joe Torran C
Is there any other way?
|
pawn Код:
if(isnull(params)) return Message("Usage: /test [option]");
new tmp[32], idx, len = strlen(params);
while(params[idx] > ' ' && idx < len) idx++;
format(tmp, sizeof(tmp), "%.*s", idx, params);
if(!strcmp(tmp, "test", true))
{
...
}