Help With Object I Can't Fixing It Soo Hard :\
#1

guy i'm Using SATDM v9 And Sudenly I change Object too Icongiton pawn + Plugin And is showing my This Errore



PHP код:
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22250) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22251) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22258) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22258) : error 033: array must be indexed (variable "TBuilder")
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22268) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22268) : error 033: array must be indexed (variable "TempLapper")
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22269) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22261) : warning 204symbol is assigned a value that is never used"idx"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22384) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22385) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22387) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22387) : error 033: array must be indexed (variable "CBuilder")
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22388) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22389) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22392) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22393) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22407) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22407) : error 033: array must be indexed (variable "TopRacers")
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22408) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22414) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22414) : error 033: array must be indexed (variable "TopLappers")
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22415) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22421) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22422) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22423) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22437) : error 017undefined symbol "strtok"
C:\Documents and Settings\PhongLan\Desktop\sa-mp 0.3x\gamemodes\SATDM_v14.pwn(22438) : error 017undefined symbol "strtok"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Can Anyone help with Fixing This God Dam thing dont worry SATDM_v14 is just a name
Reply
#2

add in 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


Forum Jump:


Users browsing this thread: 1 Guest(s)