[HELP] with command
#3

At the end 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;
}
Reply


Messages In This Thread
[HELP] with command - by scottygraham1990 - 27.09.2012, 22:08
Re: [HELP] with command - by mamorunl - 28.09.2012, 00:08
Re: [HELP] with command - by CROSS_Hunter - 28.09.2012, 00:23

Forum Jump:


Users browsing this thread: 1 Guest(s)