Hallo Ich Suche Heflene Beim TextDraw Stats. (1 id Sehn Die Von Stats 0id)
(Ich Habe LRS)
Code1.
public Geldanzigen(playerid)
{
if(GetPVarInt(playerid,"Einlogin") == 1)
{
new string[128];
format(string,sizeof(string),"$ %d",Spieler[playerid][Geld]);
TextDrawSetString(Textdraw2, string);
format(string,sizeof(string),"--------------");
TextDrawSetString(Textdraw3, string);
//
format(string,sizeof(string),"Name: %s",Spieler[playerid][pName]);
TextDrawSetString(Textdraw1, string);
} return 1;
}
public PaydayTD(playerid)
{
if(GetPVarInt(playerid,"Einlogin") == 1)
{
new string[128];
format(string,sizeof(string),"Payday: %d/60",Spieler[playerid][Payday]);
TextDrawSetString(Textdraw0, string);
} return 1;
}
Code 2.
//Text
Textdraw0 = TextDrawCreate(488.000000, 163.000000, "Payday %d/60 ");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
//
Textdraw1 = TextDrawCreate(527.000000, 150.000000, "Name: ");
TextDrawAlignment(Textdraw1, 2);
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 1.200000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
//
Textdraw2 = TextDrawCreate(493.000000, 79.000000, "");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 1);
TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
TextDrawColor(Textdraw2, -1);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
TextDrawUseBox(Textdraw2, 1);
TextDrawBoxColor(Textdraw2, 255);
TextDrawTextSize(Textdraw2, 605.000000, 295.000000);
//
Textdraw3 = TextDrawCreate(493.000000, 90.000000, "");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 1);
TextDrawLetterSize(Textdraw3, 0.500000, 1.000000);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);
TextDrawUseBox(Textdraw3, 1);
TextDrawBoxColor(Textdraw3, 255);
Danke Im Voraus