SpeedoMeter

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
  • new Text:Tacho_Box0[MAX_PLAYERS];
    new Text:Tacho_Box1[MAX_PLAYERS];
    new Text:Tacho_KMH[MAX_PLAYERS];
    new Text:Tacho_Box2[MAX_PLAYERS];
    new Text:Tacho_Zustand[MAX_PLAYERS];
    new Text:Tacho_Tank[MAX_PLAYERS];
    new Text:Tacho_Car[MAX_PLAYERS];


    das limit für textdraws ist glaub ich schnell erreicht wenn man 500 slots hat..
    7x500 = 3500 textdraws bei einem limit von 2048 ?
    korrigiert mich wenn ich falsch liege..
    man hätte wenigstens die box nicht für jeden spieler einzeln erstellen müssen.


  • Danke, da hast du vollkommen Recht, die Box werde ich in der nächsten Version Global setzen.

  • Hier der Server Log:


    [11:01:11] [debug] Accessing element at negative index -400
    [11:01:11] [debug] AMX backtrace:
    [11:01:11] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:12] [debug] Run time error 4: "Array index out of bounds"
    [11:01:12] [debug] Accessing element at negative index -400
    [11:01:12] [debug] AMX backtrace:
    [11:01:12] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:13] [debug] Run time error 4: "Array index out of bounds"
    [11:01:13] [debug] Accessing element at negative index -400
    [11:01:13] [debug] AMX backtrace:
    [11:01:13] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:14] [debug] Run time error 4: "Array index out of bounds"
    [11:01:14] [debug] Accessing element at negative index -400
    [11:01:14] [debug] AMX backtrace:
    [11:01:14] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:15] [debug] Run time error 4: "Array index out of bounds"
    [11:01:15] [debug] Accessing element at negative index -400
    [11:01:15] [debug] AMX backtrace:
    [11:01:15] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:16] [debug] Run time error 4: "Array index out of bounds"
    [11:01:16] [debug] Accessing element at negative index -400
    [11:01:16] [debug] AMX backtrace:
    [11:01:16] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:17] [debug] Run time error 4: "Array index out of bounds"
    [11:01:17] [debug] Accessing element at negative index -400
    [11:01:17] [debug] AMX backtrace:
    [11:01:17] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:18] [debug] Run time error 4: "Array index out of bounds"
    [11:01:18] [debug] Accessing element at negative index -400
    [11:01:18] [debug] AMX backtrace:
    [11:01:18] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:19] [debug] Run time error 4: "Array index out of bounds"
    [11:01:19] [debug] Accessing element at negative index -400
    [11:01:19] [debug] AMX backtrace:
    [11:01:19] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:20] [debug] Run time error 4: "Array index out of bounds"
    [11:01:20] [debug] Accessing element at negative index -400
    [11:01:20] [debug] AMX backtrace:
    [11:01:20] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:22] [debug] Run time error 4: "Array index out of bounds"
    [11:01:22] [debug] Accessing element at negative index -400
    [11:01:22] [debug] AMX backtrace:
    [11:01:22] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:23] [debug] Run time error 4: "Array index out of bounds"
    [11:01:23] [debug] Accessing element at negative index -400
    [11:01:23] [debug] AMX backtrace:
    [11:01:23] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:24] [debug] Run time error 4: "Array index out of bounds"
    [11:01:24] [debug] Accessing element at negative index -400
    [11:01:24] [debug] AMX backtrace:
    [11:01:24] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:25] [debug] Run time error 4: "Array index out of bounds"
    [11:01:25] [debug] Accessing element at negative index -400
    [11:01:25] [debug] AMX backtrace:
    [11:01:25] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:26] [debug] Run time error 4: "Array index out of bounds"
    [11:01:26] [debug] Accessing element at negative index -400
    [11:01:26] [debug] AMX backtrace:
    [11:01:26] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:27] [debug] Run time error 4: "Array index out of bounds"
    [11:01:27] [debug] Accessing element at negative index -400
    [11:01:27] [debug] AMX backtrace:
    [11:01:27] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:28] [debug] Run time error 4: "Array index out of bounds"
    [11:01:28] [debug] Accessing element at negative index -400
    [11:01:28] [debug] AMX backtrace:
    [11:01:28] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:29] [debug] Run time error 4: "Array index out of bounds"
    [11:01:29] [debug] Accessing element at negative index -400
    [11:01:29] [debug] AMX backtrace:
    [11:01:29] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:30] [debug] Run time error 4: "Array index out of bounds"
    [11:01:30] [debug] Accessing element at negative index -400
    [11:01:30] [debug] AMX backtrace:
    [11:01:30] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:31] [debug] Run time error 4: "Array index out of bounds"
    [11:01:31] [debug] Accessing element at negative index -400
    [11:01:31] [debug] AMX backtrace:
    [11:01:31] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:32] [debug] Run time error 4: "Array index out of bounds"
    [11:01:32] [debug] Accessing element at negative index -400
    [11:01:32] [debug] AMX backtrace:
    [11:01:32] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:33] [debug] Run time error 4: "Array index out of bounds"
    [11:01:33] [debug] Accessing element at negative index -400
    [11:01:33] [debug] AMX backtrace:
    [11:01:33] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:34] [debug] Run time error 4: "Array index out of bounds"
    [11:01:34] [debug] Accessing element at negative index -400
    [11:01:34] [debug] AMX backtrace:
    [11:01:34] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:35] [debug] Run time error 4: "Array index out of bounds"
    [11:01:35] [debug] Accessing element at negative index -400
    [11:01:35] [debug] AMX backtrace:
    [11:01:35] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:36] [debug] Run time error 4: "Array index out of bounds"
    [11:01:36] [debug] Accessing element at negative index -400
    [11:01:36] [debug] AMX backtrace:
    [11:01:36] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:37] [debug] Run time error 4: "Array index out of bounds"
    [11:01:37] [debug] Accessing element at negative index -400
    [11:01:37] [debug] AMX backtrace:
    [11:01:37] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:38] [debug] Run time error 4: "Array index out of bounds"
    [11:01:38] [debug] Accessing element at negative index -400
    [11:01:38] [debug] AMX backtrace:
    [11:01:38] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:39] [debug] Run time error 4: "Array index out of bounds"
    [11:01:39] [debug] Accessing element at negative index -400
    [11:01:39] [debug] AMX backtrace:
    [11:01:39] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:40] [debug] Run time error 4: "Array index out of bounds"
    [11:01:40] [debug] Accessing element at negative index -400
    [11:01:40] [debug] AMX backtrace:
    [11:01:40] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:41] [debug] Run time error 4: "Array index out of bounds"
    [11:01:41] [debug] Accessing element at negative index -400
    [11:01:41] [debug] AMX backtrace:
    [11:01:41] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:42] [debug] Run time error 4: "Array index out of bounds"
    [11:01:42] [debug] Accessing element at negative index -400
    [11:01:42] [debug] AMX backtrace:
    [11:01:42] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:43] [debug] Run time error 4: "Array index out of bounds"
    [11:01:43] [debug] Accessing element at negative index -400
    [11:01:43] [debug] AMX backtrace:
    [11:01:43] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:44] [debug] Run time error 4: "Array index out of bounds"
    [11:01:44] [debug] Accessing element at negative index -400
    [11:01:44] [debug] AMX backtrace:
    [11:01:44] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:45] [debug] Run time error 4: "Array index out of bounds"
    [11:01:45] [debug] Accessing element at negative index -400
    [11:01:45] [debug] AMX backtrace:
    [11:01:45] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:46] [debug] Run time error 4: "Array index out of bounds"
    [11:01:46] [debug] Accessing element at negative index -400
    [11:01:46] [debug] AMX backtrace:
    [11:01:46] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:47] [debug] Run time error 4: "Array index out of bounds"
    [11:01:47] [debug] Accessing element at negative index -400
    [11:01:47] [debug] AMX backtrace:
    [11:01:47] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:48] [debug] Run time error 4: "Array index out of bounds"
    [11:01:48] [debug] Accessing element at negative index -400
    [11:01:48] [debug] AMX backtrace:
    [11:01:48] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:49] [debug] Run time error 4: "Array index out of bounds"
    [11:01:49] [debug] Accessing element at negative index -400
    [11:01:49] [debug] AMX backtrace:
    [11:01:49] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:50] [debug] Run time error 4: "Array index out of bounds"
    [11:01:50] [debug] Accessing element at negative index -400
    [11:01:50] [debug] AMX backtrace:
    [11:01:50] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:51] [debug] Run time error 4: "Array index out of bounds"
    [11:01:51] [debug] Accessing element at negative index -400
    [11:01:51] [debug] AMX backtrace:
    [11:01:51] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:53] [debug] Run time error 4: "Array index out of bounds"
    [11:01:53] [debug] Accessing element at negative index -400
    [11:01:53] [debug] AMX backtrace:
    [11:01:53] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:54] [debug] Run time error 4: "Array index out of bounds"
    [11:01:54] [debug] Accessing element at negative index -400
    [11:01:54] [debug] AMX backtrace:
    [11:01:54] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:55] [debug] Run time error 4: "Array index out of bounds"
    [11:01:55] [debug] Accessing element at negative index -400
    [11:01:55] [debug] AMX backtrace:
    [11:01:55] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:56] [debug] Run time error 4: "Array index out of bounds"
    [11:01:56] [debug] Accessing element at negative index -400
    [11:01:56] [debug] AMX backtrace:
    [11:01:56] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:57] [debug] Run time error 4: "Array index out of bounds"
    [11:01:57] [debug] Accessing element at negative index -400
    [11:01:57] [debug] AMX backtrace:
    [11:01:57] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:58] [debug] Run time error 4: "Array index out of bounds"
    [11:01:58] [debug] Accessing element at negative index -400
    [11:01:58] [debug] AMX backtrace:
    [11:01:58] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:01:59] [debug] Run time error 4: "Array index out of bounds"
    [11:01:59] [debug] Accessing element at negative index -400
    [11:01:59] [debug] AMX backtrace:
    [11:01:59] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:00] [debug] Run time error 4: "Array index out of bounds"
    [11:02:00] [debug] Accessing element at negative index -400
    [11:02:00] [debug] AMX backtrace:
    [11:02:00] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:01] [debug] Run time error 4: "Array index out of bounds"
    [11:02:01] [debug] Accessing element at negative index -400
    [11:02:01] [debug] AMX backtrace:
    [11:02:01] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:02] [debug] Run time error 4: "Array index out of bounds"
    [11:02:02] [debug] Accessing element at negative index -400
    [11:02:02] [debug] AMX backtrace:
    [11:02:02] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:03] [debug] Run time error 4: "Array index out of bounds"
    [11:02:03] [debug] Accessing element at negative index -400
    [11:02:03] [debug] AMX backtrace:
    [11:02:03] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:04] [debug] Run time error 4: "Array index out of bounds"
    [11:02:04] [debug] Accessing element at negative index -400
    [11:02:04] [debug] AMX backtrace:
    [11:02:04] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:05] [debug] Run time error 4: "Array index out of bounds"
    [11:02:05] [debug] Accessing element at negative index -400
    [11:02:05] [debug] AMX backtrace:
    [11:02:05] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:06] [debug] Run time error 4: "Array index out of bounds"
    [11:02:06] [debug] Accessing element at negative index -400
    [11:02:06] [debug] AMX backtrace:
    [11:02:06] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:07] [debug] Run time error 4: "Array index out of bounds"
    [11:02:07] [debug] Accessing element at negative index -400
    [11:02:07] [debug] AMX backtrace:
    [11:02:07] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:08] [debug] Run time error 4: "Array index out of bounds"
    [11:02:08] [debug] Accessing element at negative index -400
    [11:02:08] [debug] AMX backtrace:
    [11:02:08] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:09] [debug] Run time error 4: "Array index out of bounds"
    [11:02:09] [debug] Accessing element at negative index -400
    [11:02:09] [debug] AMX backtrace:
    [11:02:09] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:10] [debug] Run time error 4: "Array index out of bounds"
    [11:02:10] [debug] Accessing element at negative index -400
    [11:02:10] [debug] AMX backtrace:
    [11:02:10] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx
    [11:02:11] [debug] Run time error 4: "Array index out of bounds"
    [11:02:11] [debug] Accessing element at negative index -400
    [11:02:11] [debug] AMX backtrace:
    [11:02:11] [debug] #0 00002194 in public SpeedoUpdate () from speedo.amx

  • Du solltest das vielleicht nicht an diese Position liegen.Es passt da nicht hin..es gibt einige leute die sowas gemoddet haben.Bei einigen ist die Mini-Map einfach Größer.


    Naja nicht jeder hat die Gleiche Map drin Mods etc, aber gute Idee =)


    MFG Arendium


    Daran hatte ich nicht gedacht, aber ich werde das Tacho nicht verschieben^^
    Danke für euer Feedback!