Blöder 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
  • Ich habe mein altes Script ausgekramt, nun sind da vermutlich Klammerfehler drinne?


    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(1388) : warning 201: redefinition of constant/macro (symbol "CPInfo")
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2906) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2907) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2908) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2909) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3164) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3198) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3214) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3990) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(5897) : error 017: undefined symbol "StopAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(6757) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(6790) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(6815) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(6840) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(9014) : error 017: undefined symbol "StopAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12525) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12526) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12527) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12528) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12529) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12530) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12531) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12532) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12533) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12534) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12535) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12536) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12537) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12538) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12539) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12540) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12541) : error 017: undefined symbol "CreateDynamicObject"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(12542) : error 017: undefined symbol "CreateDynamicObject"



    &


    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(1388) : warning 201: redefinition of constant/macro (symbol "CPInfo")C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2906) : warning 215: expression has no effectC:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2907) : warning 215: expression has no effectC:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2908) : warning 215: expression has no effectC:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2909) : warning 215: expression has no effectC:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3164) : error 017: undefined symbol "CreateDynamicObject"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3198) : warning 215: expression has no effectC:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3214) : warning 215: expression has no effectC:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3782) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3783) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3784) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3785) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3786) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3787) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3788) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3789) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3790) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3791) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3792) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3793) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3794) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3795) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3796) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3797) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3798) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3799) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3800) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3801) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3802) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3803) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3804) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3805) : error 017: undefined symbol "RemoveBuildingForPlayer"C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3806) : error 017: undefined symbol "RemoveBuildingForPlayer"



    Der Code ist hier:


    http://pastebin.com/gnjk7ANW

  • Bei euch ist es immer so "Zu viele errors = Klammerfehler".
    Nein.
    Der Compiler sagt dass der diese Funktion nicht kennt, wieso, weil du höchstwahrschein lich #include <Streamer> vergessen hast.
    Und RemoveBuilding kam erst in 0.3e deshalb musst du die Includes erneuern.


    //edit natürlich für PlayAudioStreamForPlayer audio include!

  • Ich habe nun den Fehler


    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2906) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2907) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2908) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(2909) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3198) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3214) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(3990) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(5897) : error 017: undefined symbol "StopAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(9014) : error 017: undefined symbol "StopAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26165) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26166) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26167) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26168) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26169) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26205) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26206) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26207) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26208) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26209) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26245) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26246) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26247) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26248) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26249) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26263) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26264) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26265) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26266) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(26267) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(38445) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(38491) : error 047: array sizes do not match, or destination array is too small
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(51938) : warning 215: expression has no effect
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52258) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52263) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52268) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52273) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52278) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52283) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52288) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52293) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52298) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52303) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52308) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52313) : error 017: undefined symbol "PlayAudioStreamForPlayer"
    C:\Users\Max\Desktop\samp03e_svr_R2_win32\gamemodes\NR.pwn(52318) : error 017: undefined symbol "StopAudioStreamForPlayer"


    Kann mir einer das neue Audio Plugin schicken?