Quote:
Originally Posted by SanMarinoRP
Quote:
Originally Posted by Compton\'s Eazy E
Quote:
Originally Posted by SanMarinoRP
I GET THIS ERROR!! HELP ME!!
Code:
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(319) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
|
Code:
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;
}
|
were do i place that script??!??!?
|
ALL The way at the bottom