01.08.2012, 17:27
Just replace cmd with cmdtext
And with strtok , put on the front of your script :
And at the error with Vermelho , you need to define it.. I don't speak spanish to know what this means..
Ps : Next time in english
Tell me if this work's
And with strtok , put on the front of your script :
pawn Код:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Ps : Next time in english

Tell me if this work's