mach aus
new Text:Textdraw
new PlayerText:Texrdaw
und mach es so unter OnPlayerConnect:
inventarspot3a = CreatePlayerTextDraw(playerid, 558.000000,170.000000,"_"); //440.000000,430.000000
PlayerTextDrawAlignment(playerid, inventarspot3a,0);
PlayerTextDrawBackgroundColor(playerid, inventarspot3a,0x000000FF);
PlayerTextDrawFont(playerid, inventarspot3a,1);
PlayerTextDrawLetterSize(playerid, inventarspot3a,0.250000,0.900000);
PlayerTextDrawSetOutline(playerid, inventarspot3a,1);
PlayerTextDrawSetProportional(playerid, inventarspot3a,1);
PlayerTextDrawSetShadow(playerid, inventarspot3a,0);
PlayerTextDrawColor(playerid, inventarspot3a,0xFFFFFFFF); //Weiß
und mach das
format(newtext, sizeof(newtext), "%d", amout);
TextDrawSetString(inventarspot3a, newtext);
TextDrawShowForPlayer(playerid, inventarspot3a);
zu
format(newtext, sizeof(newtext), "%d", amout);
PlayerTextDrawSetString(playerid, inventarspot3a, newtext);
PlayerTextDrawShow(playerid, inventarspot3a);