Hallo Ich Habe Ein Neue Probene
Wann 1 Server Komm Sie Der Next Komm Nicht Die Textdraw
Code 1
//Text
Textdraw0[playerid] = TextDrawCreate(488.000000, 163.000000, "");
TextDrawBackgroundColor(Textdraw0[playerid], 255);
TextDrawFont(Textdraw0[playerid], 1);
TextDrawLetterSize(Textdraw0[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw0[playerid], -1);
TextDrawSetOutline(Textdraw0[playerid], 1);
TextDrawSetProportional(Textdraw0[playerid], 1);
//
Textdraw1[playerid] = TextDrawCreate(527.000000, 150.000000, " ");
TextDrawAlignment(Textdraw1[playerid], 2);
TextDrawBackgroundColor(Textdraw1[playerid], 255);
TextDrawFont(Textdraw1[playerid], 1);
TextDrawLetterSize(Textdraw1[playerid], 0.500000, 1.200000);
TextDrawColor(Textdraw1[playerid], -1);
TextDrawSetOutline(Textdraw1[playerid], 1);
TextDrawSetProportional(Textdraw1[playerid], 1);
//
Textdraw2[playerid] = TextDrawCreate(493.000000, 79.000000, "");
TextDrawBackgroundColor(Textdraw2[playerid], 255);
TextDrawFont(Textdraw2[playerid], 1);
TextDrawLetterSize(Textdraw2[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw2[playerid], -1);
TextDrawSetOutline(Textdraw2[playerid], 0);
TextDrawSetProportional(Textdraw2[playerid], 1);
TextDrawSetShadow(Textdraw2[playerid], 1);
TextDrawUseBox(Textdraw2[playerid], 1);
TextDrawBoxColor(Textdraw2[playerid], 255);
TextDrawTextSize(Textdraw2[playerid], 605.000000, 295.000000);
//
Textdraw3[playerid] = TextDrawCreate(493.000000, 90.000000, "");
TextDrawBackgroundColor(Textdraw3[playerid], 255);
TextDrawFont(Textdraw3[playerid], 1);
TextDrawLetterSize(Textdraw3[playerid], 0.500000, 1.000000);
TextDrawColor(Textdraw3[playerid], -1);
TextDrawSetOutline(Textdraw3[playerid], 0);
TextDrawSetProportional(Textdraw3[playerid], 1);
TextDrawSetShadow(Textdraw3[playerid], 1);
TextDrawUseBox(Textdraw3[playerid], 1);
TextDrawBoxColor(Textdraw3[playerid], 255);
TextDrawTextSize(Textdraw3[playerid], 607.000000, 0.000000);
Code 2.
new Text:Textdraw0[MAX_PLAYERS];
new Text:Textdraw1[MAX_PLAYERS];
new Text:Textdraw2[MAX_PLAYERS];
new Text:Textdraw3[MAX_PLAYERS];
if(GetPVarInt(playerid,"Einlogin") == 1)
{
new string[128];
format(string,sizeof(string),"$ %d",Spieler[playerid][Geld]);
TextDrawSetString(Textdraw2[playerid], string);
format(string,sizeof(string),"--------------");
TextDrawSetString(Textdraw3[playerid], string);
//
format(string,sizeof(string),"Name: %s",Spieler[playerid][pName]);
TextDrawSetString(Textdraw1[playerid], 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[playerid], string);
} return 1;
}