Samp Script Compiler Fehler!

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Breadfish beim Compilieren Hab ich diese Errors Bekommen wie behebe ich diese?


    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3104) : error 017: undefined symbol "DestroyDynamicObject"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3120) : error 017: undefined symbol "DestroyDynamicObject"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3650) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3651) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3652) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3653) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3654) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3655) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3656) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3657) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3658) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3659) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3660) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3661) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3662) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3663) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3664) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3665) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3666) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3667) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3668) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3669) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3670) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3671) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3672) : error 017: undefined symbol "RemoveBuildingForPlayer"
    C:\Users\p\Desktop\[GM]V10.0Real.pwn(3673) : error 017: undefined symbol "RemoveBuildingForPlayer"


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



    26 Errors.

  • Jetzt Sind es diese
    26 Errors:


    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(3647) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(4402) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(10978) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 033: array must be indexed (variable "cmd")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20168) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20168) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20226) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20226) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20478) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20478) : error 033: array must be indexed (variable "x_nr")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20488) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20488) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20518) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20518) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20562) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20562) : error 033: array must be indexed (variable "x_nr")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20572) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20572) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20602) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20602) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20777) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20777) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20824) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20824) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20833) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20833) : error 033: array must be indexed (variable "tmp")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20869) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20869) : error 033: array must be indexed (variable "tmp")


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



    26 Errors.

  • Zitat

    error 017: undefined symbol "strtok"


    Du benötigst das hier:
    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;
    }

  • Unter was soll ich es einfügen?

  • Irgendwo ins Script, aber nicht unter einen anderen Public

    Jetzt ist das gekommen:


    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(3647) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(4402) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(10978) : warning 231: state specification on forward declaration is ignored
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 017: undefined symbol "strtok"
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20003) : error 033: array must be indexed (variable "cmd")
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20005) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20006) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20007) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20008) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20009) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20010) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20013) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20014) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20015) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20027) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20032) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20037) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20042) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20047) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20051) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20057) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20062) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20067) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20072) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20077) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20082) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20087) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20092) : error 079: inconsistent return types (array & non-array)
    C:\Users\p\Desktop\LoH0gNe\gamemodes\[GM]V10.0Real.pwn(20097) : error 079: inconsistent return types (array & non-array)


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



    26 Errors.