Citat: nik0la_._ poslato Maj 15, 2021, 20:59:45 POSLE PODNE
Hvala na savjetu, da li znas ti da ovo fix-as ili ne? xd :D
Znam ja ali i ti treba da znas jer su to osnove bukv..
Imas napravljen array za TDEditor_PTD i trebao bi koristiti ovako npr
[pawn]
new PlayerText: TDEditor_PTD[MAX_PLAYERS][2];
TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 495.512695, 360.333374, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 144.000000, 89.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -266333697);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 0);
TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 496.612762, 361.333435, "LD_SPAC:white");
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][1], 142.000000, 85.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 0);
[/pawn]
jasnije?
EDIT: ti si napravio array i nisi ga koristio, koristio si samo TDEditor_PTD[playerid] a treba TDEditor_PTD[playerid][index]