War mit Kollegen auf mein Server und habe /tv ausprobiert :
Als ich bei ihm auf TV war, alles cool aber wenn er es versucht bekommt er im Chat "Befehl wurde nicht gefunden", er war bei mir aber auch Spectate aber hat kein Textdraw angezeigt bekommen.
Crashdetect labert die Log voll :
Code
[21:07:46] [debug] Run time error 4: "Array index out of bounds"
[21:07:46] [debug] Attempted to read/write array element at index 2 in array of size 2
[21:07:46] [debug] AMX backtrace:
[21:07:46] [debug] #0 00073394 in public ocmd_tv (playerid=2, params[]=@016a05b0 "1") at C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn:8705
[21:07:46] [debug] #1 native CallLocalFunction () from sampsvr
[21:07:46] [debug] #2 00008260 in public OnPlayerCommandText (playerid=2, cmdtext[]=@016a0598 "/tv 1") at C:\Users\Drai\Desktop\Server\pawno\include\ocmd.inc:77
[21:07:59] [debug] Run time error 4: "Array index out of bounds"
[21:07:59] [debug] Attempted to read/write array element at index 2 in array of size 2
[21:07:59] [debug] AMX backtrace:
[21:07:59] [debug] #0 00072a7c in public ocmd_tv (playerid=2, params[]=@016a05a8 " ") at C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn:8674
[21:07:59] [debug] #1 native CallLocalFunction () from sampsvr
[21:07:59] [debug] #2 000082f8 in public OnPlayerCommandText (playerid=2, cmdtext[]=@016a0598 "/tv") at C:\Users\Drai\Desktop\Server\pawno\include\ocmd.inc:78
[21:08:19] [debug] Run time error 4: "Array index out of bounds"
[21:08:19] [debug] Attempted to read/write array element at index 2 in array of size 2
[21:08:19] [debug] AMX backtrace:
[21:08:19] [debug] #0 00073394 in public ocmd_tv (playerid=2, params[]=@016a05b0 "1") at C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn:8705
[21:08:19] [debug] #1 native CallLocalFunction () from sampsvr
[21:08:19] [debug] #2 00008260 in public OnPlayerCommandText (playerid=2, cmdtext[]=@016a0598 "/tv 1") at C:\Users\Safa\Desktop\Server\pawno\include\ocmd.inc:77
[21:08:25] [debug] Run time error 4: "Array index out of bounds"
[21:08:25] [debug] Attempted to read/write array element at index 2 in array of size 2
[21:08:25] [debug] AMX backtrace:
[21:08:25] [debug] #0 00072a7c in public ocmd_tv (playerid=2, params[]=@016a05a8 " ") at C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn:8674
[21:08:25] [debug] #1 native CallLocalFunction () from sampsvr
[21:08:25] [debug] #2 000082f8 in public OnPlayerCommandText (playerid=2, cmdtext[]=@016a0598 "/TV") at C:\Users\Drai\Desktop\Server\pawno\include\ocmd.inc:78
Alles anzeigen
Zeile 8705 aus Gamemode ( erste Zeile ist 8705
Code
TvTd[playerid][0] = CreatePlayerTextDraw(playerid, 419.000000, 361.974060, "usebox");
PlayerTextDrawLetterSize(playerid, TvTd[playerid][0], 0.000000, 9.362349);
PlayerTextDrawTextSize(playerid,TvTd[playerid][0], 220.666656, 0.000000);
PlayerTextDrawAlignment(playerid, TvTd[playerid][0], 1);
PlayerTextDrawColor(playerid,TvTd[playerid][0], 0);
PlayerTextDrawUseBox(playerid,TvTd[playerid][0], true);
PlayerTextDrawBoxColor(playerid,TvTd[playerid][0], 102);
PlayerTextDrawSetShadow(playerid,TvTd[playerid][0], 0);
PlayerTextDrawSetOutline(playerid,TvTd[playerid][0], 0);
PlayerTextDrawFont(playerid,TvTd[playerid][0], 3);
PlayerTextDrawShow(playerid, TvTd[playerid][0]);
Alles anzeigen
Zeile 8674 :
Ich glaube ich fange an gleich zu weinen xD
@Jeffry need your help!