Hey,
wenn ich versuche die Textdraws zu hiden ( /stats ), kriege ich Errors :
Code
C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn(12589) : error 028: invalid subscript (not an array or too many subscripts): "Stats0"
C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn(12589) : warning 215: expression has no effect
C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn(12589) : error 001: expected token: ";", but found "]"
C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn(12589) : error 029: invalid expression, assumed zero
C:\Users\Drai\Desktop\Server\gamemodes\gamemode.pwn(12589) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Alles anzeigen
Der Code :
Code
if(gpv(playerid, "Stats")==1)
{
PlayerTextDrawHide(playerid, Stats0[playerid]); <---------------------------------------------------------------
PlayerTextDrawHide(playerid, Stats1[playerid]);
PlayerTextDrawHide(playerid, Stats2[playerid]);
PlayerTextDrawHide(playerid, Stats3[playerid]);
PlayerTextDrawHide(playerid, Stats4[playerid]);
PlayerTextDrawHide(playerid, Stats5[playerid]);
PlayerTextDrawHide(playerid, Stats6[playerid]);
PlayerTextDrawHide(playerid, Stats7[playerid]);
PlayerTextDrawHide(playerid, Stats8[playerid]);
PlayerTextDrawHide(playerid, Stats9[playerid]);
PlayerTextDrawHide(playerid, Stats10[playerid]);
PlayerTextDrawHide(playerid, Stats11[playerid]);
PlayerTextDrawHide(playerid, Stats12[playerid]);
PlayerTextDrawHide(playerid, Stats13[playerid]);
PlayerTextDrawHide(playerid, Stats14[playerid]);
PlayerTextDrawHide(playerid, Stats15[playerid]);
PlayerTextDrawHide(playerid, Stats16[playerid]);
PlayerTextDrawHide(playerid, Stats17[playerid]);
PlayerTextDrawHide(playerid, Stats18[playerid]);
PlayerTextDrawHide(playerid, Stats19[playerid]);
PlayerTextDrawHide(playerid, Stats20[playerid]);
PlayerTextDrawHide(playerid, Stats21[playerid]);
PlayerTextDrawHide(playerid, Stats22[playerid]);
PlayerTextDrawHide(playerid, Stats23[playerid]);
PlayerTextDrawHide(playerid, Stats24[playerid]);
PlayerTextDrawHide(playerid, Stats25[playerid]);
PlayerTextDrawHide(playerid, Stats26[playerid]);
PlayerTextDrawHide(playerid, Stats27[playerid]);
PlayerTextDrawHide(playerid, Stats28[playerid]);
PlayerTextDrawHide(playerid, Stats29[playerid]);
PlayerTextDrawHide(playerid, Stats30[playerid]);
PlayerTextDrawHide(playerid, Stats31[playerid]);
SendClientMessage(playerid, GELB, "Du hast die Statistiken geschlosen.");
spv(playerid, "Stats",0);
return 1;
}
Alles anzeigen