Beiträge von [GLR]WiZZY.

    Hallo ^^


    Ich brauche Hilfe bei strtok ^^


    Errors:
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16016) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16016) : error 033: array must be indexed (variable "cmd")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16226) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16226) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16262) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16262) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16344) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16344) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16626) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16626) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16659) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16659) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16882) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16882) : error 033: array must be indexed (variable "x_nr")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16892) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16892) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16922) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16922) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16966) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16966) : error 033: array must be indexed (variable "x_nr")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16976) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(16976) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(17006) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(17006) : error 033: array must be indexed (variable "tmp")
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(17189) : error 017: undefined symbol "strtok"
    C:\Users\AYDIN ALANYALI\Desktop\GTA San Andreas\[GeS]Script\gamemodes\[GeS].pwn(17189) : error 033: array must be indexed (variable "tmp")


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.


    Zeilen:
    tmp = strtok(cmdtext,idx);
    if(!strlen(tmp))
    So sind alle Zeilen wo Errors sind ^^

    Hallo :D


    Ich hab 2 Errors -.-" ^^


    Zeilen:
    strtok(const string[], &index)
    { //ZEILE 14843
    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; //Zeile 14858
    }


    Errors:
    C:\Users\MaLi\Desktop\GTA San Andreas\Golden Special Reallife\gamemodes\[GeS].pwn(14843) : error 021: symbol already defined: "strtok"
    C:\Users\MaLi\Desktop\GTA San Andreas\German Next Era Life\gamemodes\[GeS].pwn(14858) : error 047: array sizes do not match, or destination array is too small
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    2 Errors.


    Danke im Vorraus ^^

    1. IsTaA du ladest dir die neue Version auf sa-mp.com runter.
    2. Ersetzt du alles mit dein Script Ordner
    3. Script öffnen CreateDynamicObject zu CreateObject & MoveDynamicObject zu MoveObject
    4. Server Restart....
    5. Viel Spaß! das müsste dann gehen wenn nicht, machst du was Falsch ^^.