C:\Documents and Settings\Jack\Desktop\paintball\Counter Strike Source ™\gamemodes\cs.pwn(494) : error 017: undefined symbol "strtok" C:\Documents and Settings\Jack\Desktop\paintball\Counter Strike Source ™\gamemodes\cs.pwn(494) : error 029: invalid expression, assumed zero C:\Documents and Settings\Jack\Desktop\paintball\Counter Strike Source ™\gamemodes\cs.pwn(494) : error 029: invalid expression, assumed zero C:\Documents and Settings\Jack\Desktop\paintball\Counter Strike Source ™\gamemodes\cs.pwn(494) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
strtok(const string[], &index)
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;
}
|
Originally Posted by xLowrider
This?
Код:
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;
}
|
Are they the Defines/Forwards/news?
|
Originally Posted by xLowrider
Sorry for the retardation, I'm forgot what the Callbacks are
Are they the Defines/Forwards/news? |
|
Originally Posted by xLowrider
Forget it. I'll figre it out myself....
|
|
Originally Posted by xLowrider
Ohh, Nothing is above it, Is there meant to be?
|
huh