hallo,
ich hab da ma eine frage und zwar ich hab ein paar Textdraws gemacht so
ich Möchte aber das man die Textdraw nur sehet wenn man in einem Fahrzeug Sitzt
Kann mir da villeicht jemand helfen?
EDITE: TITEL
hallo,
ich hab da ma eine frage und zwar ich hab ein paar Textdraws gemacht so
ich Möchte aber das man die Textdraw nur sehet wenn man in einem Fahrzeug Sitzt
Kann mir da villeicht jemand helfen?
EDITE: TITEL
bei public OnPlayerStateChange abfragen, ob er in ein auto sitzt,
if(newstate && PLAYER_STATE_DRIVER)
{
ShowTextDrawbla...
}
Vielen danke bitte Closed?
EDITe Hab da doch noch ein Problem also noch mals un zwar hier diesen Text Draw Möchte ich so haben das ich wenn ich ins Auto Steige soll dieser Txetdraw angezeigt werden udn wenn ich wieder aus Steige weg^^
#include <a_samp>
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
new Text:Textdraw13;
public OnFilterScriptInit()
{
print("Textdraw file generated by");
print(" Zamaroht's textdraw editor was loaded.");
// Create the textdraws:
Textdraw0 = TextDrawCreate(240.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.569999, 0.199999);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 120.000000, 103.000000);
Textdraw1 = TextDrawCreate(266.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 3.299998);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
Textdraw2 = TextDrawCreate(266.000000, 363.000000, " ");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 1);
TextDrawLetterSize(Textdraw2, 0.490000, 0.399999);
TextDrawColor(Textdraw2, -1);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
TextDrawUseBox(Textdraw2, 1);
TextDrawBoxColor(Textdraw2, 255);
TextDrawTextSize(Textdraw2, 129.000000, 101.000000);
Textdraw3 = TextDrawCreate(266.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 1);
TextDrawLetterSize(Textdraw3, 0.569999, 0.299999);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);
TextDrawUseBox(Textdraw3, 1);
TextDrawBoxColor(Textdraw3, 255);
TextDrawTextSize(Textdraw3, 124.000000, 103.000000);
Textdraw4 = TextDrawCreate(240.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 1);
TextDrawLetterSize(Textdraw4, 0.569999, 0.199999);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
TextDrawUseBox(Textdraw4, 1);
TextDrawBoxColor(Textdraw4, 255);
TextDrawTextSize(Textdraw4, 120.000000, 103.000000);
Textdraw5 = TextDrawCreate(266.000000, 355.000000, " ");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 1);
TextDrawLetterSize(Textdraw5, 0.569999, 0.299999);
TextDrawColor(Textdraw5, -1);
TextDrawSetOutline(Textdraw5, 0);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetShadow(Textdraw5, 1);
TextDrawUseBox(Textdraw5, 1);
TextDrawBoxColor(Textdraw5, 255);
TextDrawTextSize(Textdraw5, 124.000000, 103.000000);
Textdraw6 = TextDrawCreate(266.000000, 373.000000, " ");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 1);
TextDrawLetterSize(Textdraw6, 0.569999, 1.200000);
TextDrawColor(Textdraw6, -1);
TextDrawSetOutline(Textdraw6, 0);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetShadow(Textdraw6, 1);
TextDrawUseBox(Textdraw6, 1);
TextDrawBoxColor(Textdraw6, 255);
TextDrawTextSize(Textdraw6, 134.000000, 103.000000);
Textdraw7 = TextDrawCreate(266.000000, 373.000000, " ");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 1);
TextDrawLetterSize(Textdraw7, 0.569999, 1.200000);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
Textdraw8 = TextDrawCreate(266.000000, 398.000000, " ");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 1);
TextDrawLetterSize(Textdraw8, 0.569999, 1.200000);
TextDrawColor(Textdraw8, -1);
TextDrawSetOutline(Textdraw8, 0);
TextDrawSetProportional(Textdraw8, 1);
TextDrawSetShadow(Textdraw8, 1);
Textdraw9 = TextDrawCreate(266.000000, 393.000000, " ");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 1);
TextDrawLetterSize(Textdraw9, 0.569999, 0.899999);
TextDrawColor(Textdraw9, -1);
TextDrawSetOutline(Textdraw9, 0);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetShadow(Textdraw9, 1);
TextDrawUseBox(Textdraw9, 1);
TextDrawBoxColor(Textdraw9, 255);
TextDrawTextSize(Textdraw9, 132.000000, 103.000000);
Textdraw10 = TextDrawCreate(266.000000, 399.000000, " ");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 1);
TextDrawLetterSize(Textdraw10, 0.569999, 0.599999);
TextDrawColor(Textdraw10, -1);
TextDrawSetOutline(Textdraw10, 0);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetShadow(Textdraw10, 1);
TextDrawUseBox(Textdraw10, 1);
TextDrawBoxColor(Textdraw10, 255);
TextDrawTextSize(Textdraw10, 128.000000, 103.000000);
Textdraw11 = TextDrawCreate(263.000000, 392.000000, " ");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 1);
TextDrawLetterSize(Textdraw11, 0.450000, 1.700000);
TextDrawColor(Textdraw11, -1);
TextDrawSetOutline(Textdraw11, 0);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetShadow(Textdraw11, 1);
Textdraw12 = TextDrawCreate(266.000000, 403.000000, " ");
TextDrawBackgroundColor(Textdraw12, 255);
TextDrawFont(Textdraw12, 1);
TextDrawLetterSize(Textdraw12, 0.569999, 0.399999);
TextDrawColor(Textdraw12, -1);
TextDrawSetOutline(Textdraw12, 0);
TextDrawSetProportional(Textdraw12, 1);
TextDrawSetShadow(Textdraw12, 1);
TextDrawUseBox(Textdraw12, 1);
TextDrawBoxColor(Textdraw12, 255);
TextDrawTextSize(Textdraw12, 125.000000, 103.000000);
Textdraw13 = TextDrawCreate(266.000000, 408.000000, " ");
TextDrawBackgroundColor(Textdraw13, 255);
TextDrawFont(Textdraw13, 1);
TextDrawLetterSize(Textdraw13, 0.569999, 0.099999);
TextDrawColor(Textdraw13, -1);
TextDrawSetOutline(Textdraw13, 0);
TextDrawSetProportional(Textdraw13, 1);
TextDrawSetShadow(Textdraw13, 1);
TextDrawUseBox(Textdraw13, 1);
TextDrawBoxColor(Textdraw13, 255);
TextDrawTextSize(Textdraw13, 120.000000, 103.000000);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
TextDrawShowForPlayer(i, Textdraw2);
TextDrawShowForPlayer(i, Textdraw3);
TextDrawShowForPlayer(i, Textdraw4);
TextDrawShowForPlayer(i, Textdraw5);
TextDrawShowForPlayer(i, Textdraw6);
TextDrawShowForPlayer(i, Textdraw7);
TextDrawShowForPlayer(i, Textdraw8);
TextDrawShowForPlayer(i, Textdraw9);
TextDrawShowForPlayer(i, Textdraw10);
TextDrawShowForPlayer(i, Textdraw11);
TextDrawShowForPlayer(i, Textdraw12);
TextDrawShowForPlayer(i, Textdraw13);
}
}
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw2);
TextDrawDestroy(Textdraw2);
TextDrawHideForAll(Textdraw3);
TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4);
TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5);
TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6);
TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7);
TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw8);
TextDrawDestroy(Textdraw8);
TextDrawHideForAll(Textdraw9);
TextDrawDestroy(Textdraw9);
TextDrawHideForAll(Textdraw10);
TextDrawDestroy(Textdraw10);
TextDrawHideForAll(Textdraw11);
TextDrawDestroy(Textdraw11);
TextDrawHideForAll(Textdraw12);
TextDrawDestroy(Textdraw12);
TextDrawHideForAll(Textdraw13);
TextDrawDestroy(Textdraw13);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw11);
TextDrawShowForPlayer(playerid, Textdraw12);
TextDrawShowForPlayer(playerid, Textdraw13);
return 1;
}
das hab ich mit dem Textdraw Editor gemacht also ist Momentna ein Filterscript Möchte es im GM haben und wie gesagt so das es angezeigt wird nur wenne ich ins autosteige
Ja habs Veruscht aber ging net kann mir da bitte jemand helfen? also bitte beispiele die ich dann Kopieren kann und dann nur noch EDITEREN brauch
OnPlayerEnterVehicle -> TextDrawShowForPlayer
OnPlayerExitVehicle -> TextDrawHideForPlayer
Siehe dazu http://wiki.sa-mp.com/wiki/TextDrawShowForPlayer und http://wiki.sa-mp.com/wiki/TextDrawHideForPlayer
Also Ich hab jetzt folgenes Gemacht
Erst Oben Im Script Die News Geschriben:
//Tacho
new Text:Textdraw00;
new Text:Textdraw1;
new Text:Textdraw02;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
new Text:Textdraw13;
soo dann habe ich unter OnPlayerEnterVehicle das hier geschriben
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new modelid = GetVehicleModel(vehicleid);
if(modelid == 522)
{
SetPlayerAttachedObject(playerid, 1, 18645, 2, 0.07, 0, 0, 88, 75, 0);
}
if(PlayerInfo[playerid][pCarLic] < 1 && !IsAPlane(vehicleid) && !IsABoat(vehicleid))
{
SendClientMessage(playerid, COLOR_RED, " Du hast keinen Führerschein (15000$) !");
SendClientMessage(playerid, COLOR_RED, " Meide die Polizei, denn wenn du erwischt wirst, siehts nicht gut für dich aus.");
}
new tmp = GetVehicleModel(GetPlayerVehicleID(playerid));
new Float:armor;
TextDrawShowForPlayer(playerid, Textdraw00); // HIER DAS
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw02);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw11);
TextDrawShowForPlayer(playerid, Textdraw12);
TextDrawShowForPlayer(playerid, Textdraw13); // TACHO HINTERGRUND ENDE
GetPlayerArmour(playerid, armor);
if(tmp == 427)
{
SetPlayerArmour(playerid, armor);
return 1;
}
SendClientMessage(playerid,COLOR_ORANGE,"Bei Problemen mit ihrem Auto benutzen sie /service adac");
gGas[playerid] = 1;
new string[60];
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "AdminInfo: VehicleID: %d || Model: %s[%d]", vehicleid, CarName[modelid-400], modelid);
SendClientMessage(playerid, COLOR_ORANGE, string);
}
if(gTeam[playerid] >= 3)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pLeader]==1 ||PlayerInfo[playerid][pMember]==2 ||PlayerInfo[playerid][pLeader]==2 ||PlayerInfo[playerid][pMember]==3 ||PlayerInfo[playerid][pLeader]==3) { }
else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Diebstahl"); }
}
}
return 1;
}
und dann unter
public OnPlayerExitVehicle(playerid, vehicleid)
{
new modelid = GetVehicleModel(vehicleid);
TextDrawHideForAll(Textdraw00);
TextDrawDestroy(Textdraw00);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw02);
TextDrawDestroy(Textdraw02);
TextDrawHideForAll(Textdraw3);
TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4);
TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5);
TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6);
TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7);
TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw;
TextDrawDestroy(Textdraw;
TextDrawHideForAll(Textdraw9);
TextDrawDestroy(Textdraw9);
TextDrawHideForAll(Textdraw10);
TextDrawDestroy(Textdraw10);
TextDrawHideForAll(Textdraw11);
TextDrawDestroy(Textdraw11);
TextDrawHideForAll(Textdraw12);
TextDrawDestroy(Textdraw12);
TextDrawHideForAll(Textdraw13);
TextDrawDestroy(Textdraw13);
if(modelid == 522)
{
RemovePlayerAttachedObject(playerid, 1);
}
if(GetVehicleModel(vehicleid) == 462)
{
TakingLesson[playerid] = 1;
}
else if(GetVehicleModel(vehicleid) == 532)
{
if (mission[playerid])
{
SendClientMessage(playerid, COLOR_RED, "Du hast 15 Sekunden um zurueck in den Mähdrescher zu steigen!");
SetTimerEx("missionfailed",15*1000,0,"d",playerid); //
}
return 1;
}
return 1;
}
ja und dann hab ich unter dem tacho Die ganzen Textdraws aufgeListet
public UpdateSpeed()
{
new Float:x,Float:y,Float:z;
new Float:distance,value,string[256];
new Float:health, i;
for(i=0; i <= MAX_PLAYERS; i++) {
if(IsPlayerConnected(i))
{
TextDrawDestroy(Speedo[i]);
}
}
for(i=0; i <= MAX_PLAYERS; i++) {
if(IsPlayerConnected(i)) {
if(IsPlayerInAnyVehicle(i)) {
GetPlayerPos(i, x, y, z);
GetVehicleHealth(GetPlayerVehicleID(i), health);
distance = floatsqroot(floatpower(floatabs(floatsub(x,SavePlayerPos[i][LastX])),2)+floatpower(floatabs(floatsub(y,SavePlayerPos[i][LastY])),2)+floatpower(floatabs(floatsub(z,SavePlayerPos[i][LastZ])),2));
value = floatround(distance * 3900);
//value = floatround(distance * 5000);
if(Updateegs > 1)
{
value = floatround(value / Updateegs);
}
format(string,sizeof(string),"~r~Fahrzeug: ~w~%s ~n~~r~KM/H: ~w~%d~n~~r~Benzin:~w~ %d ~n~~r~Zustandt:~w~ %.2f",CarName[GetVehicleModel(GetPlayerVehicleID(i))-400],floatround(value/1000),Gas[GetPlayerVehicleID(i)],health);
Speedo[i] = TextDrawCreate(136.000000, 354.000000, string);
TextDrawAlignment(Speedo[i],0);
TextDrawBackgroundColor(Speedo[i],0x000000ff);
TextDrawFont(Speedo[i],3);
TextDrawLetterSize(Speedo[i],0.399999,1.100000);
TextDrawColor(Speedo[i],0xffffffff);
TextDrawSetOutline(Speedo[i],1);
TextDrawSetProportional(Speedo[i],1);
TextDrawSetShadow(Speedo[i],1);
TextDrawShowForPlayer (i, Speedo[i]);
// hab hier
Textdraw00 = TextDrawCreate(240.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw00, 255);
TextDrawFont(Textdraw00, 1);
TextDrawLetterSize(Textdraw00, 0.569999, 0.199999);
TextDrawColor(Textdraw00, -1);
TextDrawSetOutline(Textdraw00, 0);
TextDrawSetProportional(Textdraw00, 1);
TextDrawSetShadow(Textdraw00, 1);
TextDrawUseBox(Textdraw00, 1);
TextDrawBoxColor(Textdraw00, 255);
TextDrawTextSize(Textdraw00, 120.000000, 103.000000);
Textdraw1 = TextDrawCreate(266.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 3.299998);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
Textdraw02 = TextDrawCreate(266.000000, 363.000000, " ");
TextDrawBackgroundColor(Textdraw02, 255);
TextDrawFont(Textdraw02, 1);
TextDrawLetterSize(Textdraw02, 0.490000, 0.399999);
TextDrawColor(Textdraw02, -1);
TextDrawSetOutline(Textdraw02, 0);
TextDrawSetProportional(Textdraw02, 1);
TextDrawSetShadow(Textdraw02, 1);
TextDrawUseBox(Textdraw02, 1);
TextDrawBoxColor(Textdraw02, 255);
TextDrawTextSize(Textdraw02, 129.000000, 101.000000);
Textdraw3 = TextDrawCreate(266.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 1);
TextDrawLetterSize(Textdraw3, 0.569999, 0.299999);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);
TextDrawUseBox(Textdraw3, 1);
TextDrawBoxColor(Textdraw3, 255);
TextDrawTextSize(Textdraw3, 124.000000, 103.000000);
Textdraw4 = TextDrawCreate(240.000000, 353.000000, " ");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 1);
TextDrawLetterSize(Textdraw4, 0.569999, 0.199999);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
TextDrawUseBox(Textdraw4, 1);
TextDrawBoxColor(Textdraw4, 255);
TextDrawTextSize(Textdraw4, 120.000000, 103.000000);
Textdraw5 = TextDrawCreate(266.000000, 355.000000, " ");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 1);
TextDrawLetterSize(Textdraw5, 0.569999, 0.299999);
TextDrawColor(Textdraw5, -1);
TextDrawSetOutline(Textdraw5, 0);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetShadow(Textdraw5, 1);
TextDrawUseBox(Textdraw5, 1);
TextDrawBoxColor(Textdraw5, 255);
TextDrawTextSize(Textdraw5, 124.000000, 103.000000);
Textdraw6 = TextDrawCreate(266.000000, 373.000000, " ");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 1);
TextDrawLetterSize(Textdraw6, 0.569999, 1.200000);
TextDrawColor(Textdraw6, -1);
TextDrawSetOutline(Textdraw6, 0);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetShadow(Textdraw6, 1);
TextDrawUseBox(Textdraw6, 1);
TextDrawBoxColor(Textdraw6, 255);
TextDrawTextSize(Textdraw6, 134.000000, 103.000000);
Textdraw7 = TextDrawCreate(266.000000, 373.000000, " ");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 1);
TextDrawLetterSize(Textdraw7, 0.569999, 1.200000);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
Textdraw8 = TextDrawCreate(266.000000, 398.000000, " ");
TextDrawBackgroundColor(Textdraw8, 255);
TextDrawFont(Textdraw8, 1);
TextDrawLetterSize(Textdraw8, 0.569999, 1.200000);
TextDrawColor(Textdraw8, -1);
TextDrawSetOutline(Textdraw8, 0);
TextDrawSetProportional(Textdraw8, 1);
TextDrawSetShadow(Textdraw8, 1);
Textdraw9 = TextDrawCreate(266.000000, 393.000000, " ");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 1);
TextDrawLetterSize(Textdraw9, 0.569999, 0.899999);
TextDrawColor(Textdraw9, -1);
TextDrawSetOutline(Textdraw9, 0);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetShadow(Textdraw9, 1);
TextDrawUseBox(Textdraw9, 1);
TextDrawBoxColor(Textdraw9, 255);
TextDrawTextSize(Textdraw9, 132.000000, 103.000000);
Textdraw10 = TextDrawCreate(266.000000, 399.000000, " ");
TextDrawBackgroundColor(Textdraw10, 255);
TextDrawFont(Textdraw10, 1);
TextDrawLetterSize(Textdraw10, 0.569999, 0.599999);
TextDrawColor(Textdraw10, -1);
TextDrawSetOutline(Textdraw10, 0);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetShadow(Textdraw10, 1);
TextDrawUseBox(Textdraw10, 1);
TextDrawBoxColor(Textdraw10, 255);
TextDrawTextSize(Textdraw10, 128.000000, 103.000000);
Textdraw11 = TextDrawCreate(263.000000, 392.000000, " ");
TextDrawBackgroundColor(Textdraw11, 255);
TextDrawFont(Textdraw11, 1);
TextDrawLetterSize(Textdraw11, 0.450000, 1.700000);
TextDrawColor(Textdraw11, -1);
TextDrawSetOutline(Textdraw11, 0);
TextDrawSetProportional(Textdraw11, 1);
TextDrawSetShadow(Textdraw11, 1);
Textdraw12 = TextDrawCreate(266.000000, 403.000000, " ");
TextDrawBackgroundColor(Textdraw12, 255);
TextDrawFont(Textdraw12, 1);
TextDrawLetterSize(Textdraw12, 0.569999, 0.399999);
TextDrawColor(Textdraw12, -1);
TextDrawSetOutline(Textdraw12, 0);
TextDrawSetProportional(Textdraw12, 1);
TextDrawSetShadow(Textdraw12, 1);
TextDrawUseBox(Textdraw12, 1);
TextDrawBoxColor(Textdraw12, 255);
TextDrawTextSize(Textdraw12, 125.000000, 103.000000);
Textdraw13 = TextDrawCreate(266.000000, 408.000000, " ");
TextDrawBackgroundColor(Textdraw13, 255);
TextDrawFont(Textdraw13, 1);
TextDrawLetterSize(Textdraw13, 0.569999, 0.099999);
TextDrawColor(Textdraw13, -1);
TextDrawSetOutline(Textdraw13, 0);
TextDrawSetProportional(Textdraw13, 1);
TextDrawSetShadow(Textdraw13, 1);
TextDrawUseBox(Textdraw13, 1);
TextDrawBoxColor(Textdraw13, 255);
TextDrawTextSize(Textdraw13, 120.000000, 103.000000);
}
}
SavePlayerPos[i][LastX] = x;
SavePlayerPos[i][LastY] = y;
SavePlayerPos[i][LastZ] = z;
}
}
Oder muss ich die Wo anderes machen? der tacho geht nur das hintergrund was ich gemacht habe zeigt er net an