bayside script probleme

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
  • moin
    Ich habe vorkurzen mir das bayside script runtergeladen und und wenn ich es compilen will kommen 26 errors
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(4836) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(4890) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(4932) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(5826) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(4889) : warning 204: symbol is assigned a value that is never used: "jackson"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(4835) : warning 204: symbol is assigned a value that is never used: "garages"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(12021) : error 017: undefined symbol "COLOR_DBLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(12036) : error 017: undefined symbol "COLOR_DBLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(12047) : error 017: undefined symbol "COLOR_DBLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(12059) : error 017: undefined symbol "COLOR_DBLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(12764) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(12778) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13020) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13040) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13200) : error 017: undefined symbol "COLOR_WHITE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13447) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13469) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13486) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13505) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13526) : error 017: undefined symbol "COLOR_BLUE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(13966) : error 017: undefined symbol "COLOR_PURPLE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14010) : error 017: undefined symbol "COLOR_PURPLE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14011) : error 017: undefined symbol "COLOR_PURPLE"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14709) : error 017: undefined symbol "COLOR_FADE1"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14715) : error 017: undefined symbol "COLOR_FADE1"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14743) : error 017: undefined symbol "COLOR_YELLOW"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14744) : error 017: undefined symbol "COLOR_YELLOW"
    C:\Users\chris\Desktop\gamemodes\bsrp.pwn(14745) : error 017: undefined symbol "COLOR_YELLOW"


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



    26 Errors.


    Ich weiss ich was ich machen soll????

  • Haha sieht aus wie ein Klammerfehler im Script. Viel Spaß ihn zu finden.

    Nett, und haste auch was zum Thema beizutragen?


    Soweit ich weis ist setobjectmaterial in der objects.inc von SA:MP.
    Lad dir mal das Serverpack mit den neuen Includes runter.



    Die Farben kannst du ja manuell Definieren oder aus anderen Scripts "klauen"



    MfG

    Mit freundlichem Gruß
    Weper

  • Die Includes habe rein gar nix mit den Farben zu tun.. :huh:
    Du musst die Farben definieren.


    Hier mal eine liste:


    Code
    #define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_BLUE 0x0000BBAA#define COLOR_LIGHTBLUE 0x33CCFFAA#define COLOR_ORANGE 0xFF9900AA#define COLOR_RED 0xAA3333AA#define COLOR_LIME 0x10F441AA#define COLOR_MAGENTA 0xFF00FFFF#define COLOR_NAVY 0x000080AA#define COLOR_AQUA 0xF0F8FFAA#define COLOR_CRIMSON 0xDC143CAA#define COLOR_FLBLUE 0x6495EDAA#define COLOR_BISQUE 0xFFE4C4AA#define COLOR_BLACK 0x000000AA#define COLOR_CHARTREUSE 0x7FFF00AA#define COLOR_BROWN 0XA52A2AAA#define COLOR_CORAL 0xFF7F50AA#define COLOR_GOLD 0xB8860BAA#define COLOR_GREENYELLOW 0xADFF2FAA#define COLOR_INDIGO 0x4B00B0AA#define COLOR_IVORY 0xFFFF82AA#define COLOR_LAWNGREEN 0x7CFC00AA#define COLOR_SEAGREEN 0x20B2AAAA#define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime#define COLOR_MIDNIGHTBLUE 0X191970AA#define COLOR_MAROON 0x800000AA#define COLOR_OLIVE 0x808000AA#define COLOR_ORANGERED 0xFF4500AA#define COLOR_PINK 0xFFC0CBAA // - Light light pink#define COLOR_SEAGREEN 0x2E8B57AA#define COLOR_SPRINGGREEN 0x00FF7FAA#define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P#define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green#define COLOR_MEDIUMAQUA 0x83BFBFAA#define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^


  • Es gibt ein colors.inc Include da sind auch Farben drin. :3

  • Jetzt kommen nachdem ich die farben eingfügt habe kommt das hier


    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(158) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(159) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(160) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(161) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(163) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTBLUE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(164) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(166) : warning 201: redefinition of constant/macro (symbol "COLOR_LIME")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(168) : warning 201: redefinition of constant/macro (symbol "COLOR_NAVY")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(169) : warning 201: redefinition of constant/macro (symbol "COLOR_AQUA")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(170) : warning 201: redefinition of constant/macro (symbol "COLOR_CRIMSON")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(172) : warning 201: redefinition of constant/macro (symbol "COLOR_BISQUE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(173) : warning 201: redefinition of constant/macro (symbol "COLOR_BLACK")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(174) : warning 201: redefinition of constant/macro (symbol "COLOR_CHARTREUSE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(175) : warning 201: redefinition of constant/macro (symbol "COLOR_BROWN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(176) : warning 201: redefinition of constant/macro (symbol "COLOR_CORAL")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(177) : warning 201: redefinition of constant/macro (symbol "COLOR_GOLD")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(178) : warning 201: redefinition of constant/macro (symbol "COLOR_GREENYELLOW")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(179) : warning 201: redefinition of constant/macro (symbol "COLOR_INDIGO")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(181) : warning 201: redefinition of constant/macro (symbol "COLOR_LAWNGREEN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(182) : warning 201: redefinition of constant/macro (symbol "COLOR_SEAGREEN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(183) : warning 201: redefinition of constant/macro (symbol "COLOR_LIMEGREEN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(184) : warning 201: redefinition of constant/macro (symbol "COLOR_MIDNIGHTBLUE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(185) : warning 201: redefinition of constant/macro (symbol "COLOR_MAROON")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(186) : warning 201: redefinition of constant/macro (symbol "COLOR_OLIVE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(187) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGERED")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(188) : warning 201: redefinition of constant/macro (symbol "COLOR_PINK")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(189) : warning 201: redefinition of constant/macro (symbol "COLOR_SEAGREEN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(190) : warning 201: redefinition of constant/macro (symbol "COLOR_SPRINGGREEN")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(191) : warning 201: redefinition of constant/macro (symbol "COLOR_TOMATO")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(192) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOWGREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(6) : warning 201: redefinition of constant/macro (symbol "COLOR_CRIMSON")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(7) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(12) : warning 201: redefinition of constant/macro (symbol "COLOR_PINK")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(20) : warning 201: redefinition of constant/macro (symbol "COLOR_CORAL")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(21) : warning 201: redefinition of constant/macro (symbol "COLOR_TOMATO")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(22) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGERED")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(24) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(27) : warning 201: redefinition of constant/macro (symbol "COLOR_GOLD")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(28) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOW")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(55) : warning 201: redefinition of constant/macro (symbol "COLOR_INDIGO")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(61) : warning 201: redefinition of constant/macro (symbol "COLOR_GREENYELLOW")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(62) : warning 201: redefinition of constant/macro (symbol "COLOR_CHARTREUSE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(63) : warning 201: redefinition of constant/macro (symbol "COLOR_LAWNGREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(64) : warning 201: redefinition of constant/macro (symbol "COLOR_LIME")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(65) : warning 201: redefinition of constant/macro (symbol "COLOR_LIMEGREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(69) : warning 201: redefinition of constant/macro (symbol "COLOR_SPRINGGREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(71) : warning 201: redefinition of constant/macro (symbol "COLOR_SEAGREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(73) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(75) : warning 201: redefinition of constant/macro (symbol "COLOR_YELLOWGREEN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(77) : warning 201: redefinition of constant/macro (symbol "COLOR_OLIVE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(86) : warning 201: redefinition of constant/macro (symbol "COLOR_AQUA")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(98) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTBLUE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(109) : warning 201: redefinition of constant/macro (symbol "COLOR_NAVY")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(110) : warning 201: redefinition of constant/macro (symbol "COLOR_MIDNIGHTBLUE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(115) : warning 201: redefinition of constant/macro (symbol "COLOR_BISQUE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(126) : warning 201: redefinition of constant/macro (symbol "COLOR_BROWN")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(127) : warning 201: redefinition of constant/macro (symbol "COLOR_MAROON")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(130) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
    C:\Users\chris\Desktop\server\pawno\include\colors.inc(140) : warning 201: redefinition of constant/macro (symbol "COLOR_BLACK")
    C:\Users\chris\Desktop\server\pawno\include\color.inc(50) : warning 201: redefinition of constant/macro (symbol "COLOR_DARKSEAGREEN")
    C:\Users\chris\Desktop\server\pawno\include\color.inc(60) : warning 201: redefinition of constant/macro (symbol "COLOR_FIREBRICK")
    C:\Users\chris\Desktop\server\pawno\include\color.inc(72) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
    C:\Users\chris\Desktop\server\pawno\include\color.inc(86) : warning 201: redefinition of constant/macro (symbol "COLOR_IVORY")
    C:\Users\chris\Desktop\server\pawno\include\color.inc(117) : warning 201: redefinition of constant/macro (symbol "COLOR_MEDIUMTURQUOISE")
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(5016) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(5070) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(5112) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(6006) : error 017: undefined symbol "SetObjectMaterialText"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(5069) : warning 204: symbol is assigned a value that is never used: "jackson"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(5015) : warning 204: symbol is assigned a value that is never used: "garages"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(13200) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(13220) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(14889) : error 017: undefined symbol "COLOR_FADE1"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(14895) : error 017: undefined symbol "COLOR_FADE1"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(17594) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(17595) : error 017: undefined symbol "COLOR_CNN"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(17596) : error 017: undefined symbol "COLOR_CNN"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(17597) : error 017: undefined symbol "COLOR_CNN"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(19276) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(19641) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(19879) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(20959) : error 017: undefined symbol "COLOR_CNN"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(21416) : error 017: undefined symbol "COLOR_LIGHTRED"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(22327) : error 017: undefined symbol "TEAM_GROVE_COLOR"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(22329) : error 017: undefined symbol "TEAM_GROVE_COLOR"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(22425) : error 017: undefined symbol "TEAM_GROVE_COLOR"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(22427) : error 017: undefined symbol "TEAM_GROVE_COLOR"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(26665) : error 017: undefined symbol "COLOR_GRAD1"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(26666) : error 017: undefined symbol "COLOR_GRAD1"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(26670) : error 017: undefined symbol "COLOR_GRAD2"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(26674) : error 017: undefined symbol "COLOR_GRAD3"
    C:\Users\chris\Desktop\Neuer Ordner (2)\gamemodes\bsrp.pwn(26678) : error 017: undefined symbol "COLOR_GRAD4"


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



    26 Errors.


  • d

    a bleibt dir nur noch eins Übrig. Du difiniert die Farben im Script :D