Hey,
habe mein Textdraw neu gemacht und eins dazu gefügt ( in 2 Teilen -> Eins das Stern und das andere die Anzahl der Wanteds ).
Habe ein Array Error also die müssen "indiziert" werden, was ich nicht nicht gerade nicht verstehe.
Code
WantedTd = CreatePlayerTextDraw(playerid,523.000000, 99.000000, "1");
PlayerTextDrawBackgroundColor(playerid,WantedTd[playerid], 255);
PlayerTextDrawFont(playerid,WantedTd[playerid], 3);
PlayerTextDrawLetterSize(playerid,WantedTd[playerid], 0.719999, 2.299999);
PlayerTextDrawColor(playerid,WantedTd[playerid], -1);
PlayerTextDrawSetOutline(playerid,WantedTd[playerid], 1);
PlayerTextDrawSetProportional(playerid,WantedTd[playerid], 1);
PlayerTextDrawSetSelectable(playerid,WantedTd[playerid], 0);
SternTd = CreatePlayerTextDraw(playerid,479.000000, 100.000000, "[]");
PlayerTextDrawBackgroundColor(playerid,SternTd[playerid], 255);
PlayerTextDrawFont(playerid,SternTd[playerid], 2);
PlayerTextDrawLetterSize(playerid,SternTd[playerid], 0.639999, 2.200000);
PlayerTextDrawColor(playerid,SternTd[playerid], -371703553);
PlayerTextDrawSetOutline(playerid,SternTd[playerid], 1);
PlayerTextDrawSetProportional(playerid,SternTd[playerid], 1);
PlayerTextDrawSetSelectable(playerid,SternTd[playerid], 0);
Alles anzeigen
Weiß jemand was da fehlt?
Code
C:\Users\Safa\Desktop\Server\gamemodes\gamemode.pwn(3165) : error 033: array must be indexed (variable "WantedTd")
C:\Users\Safa\Desktop\Server\gamemodes\gamemode.pwn(3174) : error 033: array must be indexed (variable "SternTd")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.