21.05.2010, 23:28
Quote:
Originally Posted by Sh@rp Kil|er
Hey guys when i try to compile i get this error
F:\Games\Rockstar Games\samp03asvr_R7_win32\filterscripts\aHouse.pwn (979) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. can someone help me plz |
strtok(const string[],valve)
{
new index=valve;
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;
}