Beiträge von [KoSoVa]
-
-
Hier bitte:
-
Moin,
da ich gar keine Ahnung von einem PC habe, wollte euch fragen: Was muss dringend neu bestellt werden? Weil ich zocke derzeitig H1Z1 und das Spiel bekommt ab und zu massive Lags in der Stadt oder im Wald...
PC Daten:
Informationsliste Wert
Computer
Betriebssystem Windows 7 Home Premium Home Edition
OS Service Pack -
DirectX 4.09.00.0904 (DirectX 9.0c)
Motherboard
CPU Typ Unknown, 2700 MHz
Motherboard Name Unbekannt
Motherboard Chipsatz Unbekannt
Arbeitsspeicher 3584 MB
BIOS Typ Unbekannt
Anschlüsse (COM und LPT) Kommunikationsanschluss (COM1)
Anzeige
Grafikkarte AMD Radeon HD 6410D
Grafikkarte AMD Radeon HD 6410D
Monitor PnP-Monitor (Standard) [NoDB] (YE5M508095)
Multimedia
Soundkarte Digitalaudio (S/PDIF) (High Def
Soundkarte Lautsprecher (High Definition A
Datenträger
IDE Controller Standard-Zweikanal-PCI-IDE-Controller
IDE Controller Standard-Zweikanal-PCI-IDE-Controller
Festplatte ST3360320AS ATA Device (335 GB, IDE)
Festplatte Generic 2.0 Reader -1 USB Device
Festplatte Generic 2.0 Reader -2 USB Device
Festplatte Generic 2.0 Reader -3 USB Device
Festplatte Generic 2.0 Reader -4 USB Device
Festplatte Generic 2.0 Reader -0 USB Device
Optisches Laufwerk Optiarc DVD RW AD-7170S ATA Device
S.M.A.R.T. Festplatten-Status OK
Partitionen
C: (NTFS) 343296 MB (170974 MB frei)(Bitte auch denn Preis dazu geben.)
-
Hmm, es wackelt aber nur ganz leicht.. es geht trz. nicht raus irgendwie... ich habe es selbst mit einen Puller probiert, geht auch nicht.
-
Hey,
ich bekomme öfters das "Problem(?)" das ich immer ein überfall von ganz neu machen muss.. das heißt wenn ich z.b. Phase 1 fertig habe und dann ganz normal gespawnt werde, und dann weitermachen will, alles weg.. also die Leinwand ist wieder Komplett leer dies das... ist das ein Bug? Oder mache ich was falsch?
-
Moin,
Der Lüfter ist aufjedenfall durch mit der Welt das sieht man klar.Was mir auch aufgefallen der Kickstarterritzler wird auch bald durch mit der Welt sein. Um alles zu lösen kannst du es mit WD40 versuchen zu fetten und mit leichten ziehen rausholen (Oder halt mit Hammer immer leichte Schläge). Solltest du ein Polarad abzieher haben kannst du auch den nutzen.
Wie machst du eigentlich die Mutter fest?
Lg
Ich mach die mit ganz normalen 17 schlüssel fest.. halt einen 10 für ein klemmen und joa...
Neuer Status: Ich habe bemerkt das ich die sogar zu fest reingehauen hab... Es steckt höchsten die Ritze oder das ganz innere fest. Leider weiß ich nicht genau was. habe schon versucht mit Hammer sowie auch Fett etwas rauszumachen ging leider nicht. Jetzt habe ich zwar hinbekommen das es etwas wackelt aber mehr auch nicht.
Das habe ich ausversehen rausgeholt:
War das das Problem? Das jetzt alles dadrinne feststeckt?
-
Hier ein 2 Bilder:
-
Okay, aber wie bekomme ich es jetzt denn wieder raus? Also was wäre denn jetzt am besten es "Vorsichtig" rauszuholen ?
-
Moin Leute,
Ich habe heute an meiner Variomatik rungeschraubt. Nachdem ich fertig war und alles wieder zurück machen wollte ging einieges nicht.. Mein Roller geht zwar an aber es macht sehr komische Geräusche und der Kick starter geht nicht mehr.... Der Roller fährt auch statt 50 nur noch 40 Km/h... Dann wollte ich alles zurück machen , jedoch kriege ich meinen Lüfterrad nicht mehr raus... Bitte hilfe.
-
Warum wird nichts erstellt?
stock CreateWeaponAccount(playerid)
{
new query[256],Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, MAX_PLAYER_NAME);
mysql_real_escape_string(Name,Name);
format(query, sizeof(query), "INSERT INTO `weapon` (`Name`, `Deagle`, `M9`, `P226`, `MP443`, `QSZ`, `AK47`, `M4A1`, `M16`, `AUG`, `FAMAS`, `MP5`, `UZI`, `Tec9`, `P90`, `UMP`, `Barrett`, `M39`, `M39V`, `SRR`, `JNG`, `SV`, `Spas12`, `UTS`, `M1014`) VALUES ('%s', '0', '0', '0', '0','0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0')",Name);
mysql_query(query);
return true;
}
//Keine ErrorsDebug:
-
Funktioniert es, wenn du es so schreibst?
format(KDTextdraw, sizeof(KDTextdraw), "Aktuelle K/D: ~y~%i", SpielerInfo[playerid][pRundenKills]/SpielerInfo[playerid][pRundenTode]);
zu:
new tmp = SpielerInfo[playerid][pRundenTode];
if(tmp == 0) tmp = 1;
format(KDTextdraw, sizeof(KDTextdraw), "Aktuelle K/D: ~y~%i", SpielerInfo[playerid][pRundenKills]/tmp);Jap, jetzt geht es , alles klar danke! Das wärs dann
-
Habe es schon erledigt,
Okay es wird ungefähr ab hier nicht mehr geprintet:
ocmd:update(playerid,params[])
{
new GetBestKillstreakTextdraw[144],GetABCTextdraw[144],GetRankTextdraw[144],BesterSpielerTextdraw[144],KDTextdraw[144],EroberungTextdraw[144],KillstreakTextdraw[144],
KillsTextdraw[144],TodeTextdraw[144],GetEXPTextdraw[144];
print("1");
format(BesterSpielerTextdraw, sizeof(BesterSpielerTextdraw), "Bester Spieler: ~y~%s", BesterSpieler());
PlayerTextDrawSetString(playerid,Textdraw29[playerid],BesterSpielerTextdraw);
print("2");
format(KillsTextdraw, sizeof(KillsTextdraw), "Kills: ~y~%i", SpielerInfo[playerid][pRundenKills]);
PlayerTextDrawSetString(playerid,Textdraw31[playerid],KillsTextdraw);
print("3");
format(TodeTextdraw, sizeof(TodeTextdraw), "Tode: ~y~%i", SpielerInfo[playerid][pRundenTode]);
PlayerTextDrawSetString(playerid,Textdraw32[playerid],TodeTextdraw);
print("4");
format(KillstreakTextdraw, sizeof(KillstreakTextdraw), "Killstreak: ~y~%i", SpielerInfo[playerid][pKillStreak]);
PlayerTextDrawSetString(playerid,Textdraw33[playerid],KillstreakTextdraw);
print("5");
format(EroberungTextdraw, sizeof(EroberungTextdraw), "Eroberung: ~y~%i", SpielerInfo[playerid][pEroberung]);
PlayerTextDrawSetString(playerid,Textdraw34[playerid],EroberungTextdraw);
print("6");
//Ab hier gehts nicht mehr weiter
format(KDTextdraw, sizeof(KDTextdraw), "Aktuelle K/D: ~y~%i", SpielerInfo[playerid][pRundenKills]/SpielerInfo[playerid][pRundenTode]);
PlayerTextDrawSetString(playerid,Textdraw35[playerid],KDTextdraw);
print("7");
format(GetEXPTextdraw, sizeof(GetEXPTextdraw), "EXP: ~y~%i/%s", SpielerInfo[playerid][pEXP],GetEXP(playerid));
PlayerTextDrawSetString(playerid,Textdraw36[playerid],GetEXPTextdraw);
print("8");
format(GetABCTextdraw, sizeof(GetABCTextdraw), "A: ~y~%s B: ~y~%s C: ~y~%s", GetATextdraw(playerid),GetBTextdraw(playerid),GetCTextdraw(playerid));
PlayerTextDrawSetString(playerid,Textdraw38[playerid],GetABCTextdraw);
print("9");
/*format(GetUSArmyextdraw, sizeof(GetUSArmyextdraw), "US Army Tickets: ~y~%i", GetUSArmyTickets(playerid));
PlayerTextDrawSetString(playerid,Textdraw39[playerid],GetUSArmyextdraw);*/
print("10");
/*format(GetTerroristenTextdraw, sizeof(GetTerroristenTextdraw), "TerroristenTickets: ~y~%i", GetTerroristenTickets(playerid));
PlayerTextDrawSetString(playerid,Textdraw40[playerid],GetTerroristenTextdraw);*/
print("11");
format(GetBestKillstreakTextdraw, sizeof(GetBestKillstreakTextdraw), "Hoechster Killstreak: ~y~%s", BesterKillstreak());
PlayerTextDrawSetString(playerid,Textdraw41[playerid],GetBestKillstreakTextdraw);
print("12");
format(GetRankTextdraw, sizeof(GetRankTextdraw), "Rank: ~y~%s", GetRank(playerid));
PlayerTextDrawSetString(playerid,Textdraw42[playerid],GetRankTextdraw);
print("13");
StatusBoxTextdrawsLoad(playerid);
print("[size=10]14");[/size]
return 1;
}Muss ich jetzt einen Zweiten Befehl erstellen? Oder geht das auch anders?
-
Kann ich jetzt nicht ausprobieren... (siehe [SAMMELTHREAD] Kleine Scripting Fragen)
soweit ich es wieder kann , werde ich dir sofort bescheid sagen bzw. edieren!
//EDIT:
Okay, also ich habs endlich hinbekommen , der Code musste so sein, danke Jeffrey!
public EroberungBalken4(playerid)
{
new show[MAX_PLAYERS] = 0,show1[MAX_PLAYERS] = 0;
if(gTeam[playerid] == TEAM_USARMY)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A[playerid] == 1) show[playerid] = 1;
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B[playerid] == 1) show[playerid] = 2;
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C[playerid] == 1) show[playerid] = 3;
}
else if(gTeam[playerid] == TEAM_RUSSLAND)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A[playerid] == 0) show1[playerid] = 1;
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B[playerid] == 0) show1[playerid] = 2;
else if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C[playerid] == 0) show1[playerid] = 3;
}
if(show[playerid] != 0 || show1[playerid] != 0)
{
if(show[playerid] == 3)
{
CheckEroberungMap1C[playerid] = 0;
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}C{FFFFFF}' erobert!");
print("C-Wurde erobert(Show 3)");
}
else if(show1[playerid] == 3)
{
CheckEroberungMap1C[playerid] = 1;
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}C{FFFFFF}' erobert!");
print("C-Wurde erobert(Show1 3)");
}
else if(show[playerid] == 2)
{
CheckEroberungMap1B[playerid] = 0;
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}B{FFFFFF}' erobert!");
print("B-Wurde erobert(Show 2)");
}
else if(show1[playerid] == 2)
{
CheckEroberungMap1B[playerid] = 1;
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}B{FFFFFF}' erobert!");
print("B-Wurde erobert(Show1 2)");
}
else if(show[playerid] == 1)
{
CheckEroberungMap1A[playerid] = 0;
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}A{FFFFFF}' erobert!");
print("A-Wurde erobert(Show 1)");
}
else if(show1[playerid] == 1)
{
CheckEroberungMap1A[playerid] = 1;
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}A{FFFFFF}' erobert!");
print("A-Wurde erobert(Show1 1)");
}
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
SetTimerEx("EroberungBalken5",1000,false, "d", playerid);
}
else EroberungBalken5(playerid);
return 1;
}//EDIT
und warum kann ich denn Befehl "/update" nicht ausführen? Dann kommt immer "Dieser Befehl wurde nicht gefunden."
ocmd:update(playerid,params[])
{
new GetBestKillstreakTextdraw[144],GetABCTextdraw[144],GetRankTextdraw[144],BesterSpielerTextdraw[144],KDTextdraw[144],EroberungTextdraw[144],KillstreakTextdraw[144],
KillsTextdraw[144],TodeTextdraw[144],GetEXPTextdraw[144];
format(BesterSpielerTextdraw, sizeof(BesterSpielerTextdraw), "Bester Spieler: ~y~%s", BesterSpieler());
PlayerTextDrawSetString(playerid,Textdraw29[playerid],BesterSpielerTextdraw);
format(KillsTextdraw, sizeof(KillsTextdraw), "Kills: ~y~%i", SpielerInfo[playerid][pRundenKills]);
PlayerTextDrawSetString(playerid,Textdraw31[playerid],KillsTextdraw);
format(TodeTextdraw, sizeof(TodeTextdraw), "Tode: ~y~%i", SpielerInfo[playerid][pRundenTode]);
PlayerTextDrawSetString(playerid,Textdraw32[playerid],TodeTextdraw);
format(KillstreakTextdraw, sizeof(KillstreakTextdraw), "Killstreak: ~y~%i", SpielerInfo[playerid][pKillStreak]);
PlayerTextDrawSetString(playerid,Textdraw33[playerid],KillstreakTextdraw);
format(EroberungTextdraw, sizeof(EroberungTextdraw), "Eroberung: ~y~%i", SpielerInfo[playerid][pEroberung]);
PlayerTextDrawSetString(playerid,Textdraw34[playerid],EroberungTextdraw);
format(KDTextdraw, sizeof(KDTextdraw), "Aktuelle K/D: ~y~%i", SpielerInfo[playerid][pRundenKills]/SpielerInfo[playerid][pRundenTode]);
PlayerTextDrawSetString(playerid,Textdraw35[playerid],KDTextdraw);
format(GetEXPTextdraw, sizeof(GetEXPTextdraw), "EXP: ~y~%i/%s", SpielerInfo[playerid][pEXP],GetEXP(playerid));
PlayerTextDrawSetString(playerid,Textdraw36[playerid],GetEXPTextdraw);
format(GetABCTextdraw, sizeof(GetABCTextdraw), "A: ~y~%s B: ~y~%s C: ~y~%s", GetATextdraw(playerid),GetBTextdraw(playerid),GetCTextdraw(playerid));
PlayerTextDrawSetString(playerid,Textdraw38[playerid],GetABCTextdraw);
/*format(GetUSArmyextdraw, sizeof(GetUSArmyextdraw), "US Army Tickets: ~y~%i", GetUSArmyTickets(playerid));
PlayerTextDrawSetString(playerid,Textdraw39[playerid],GetUSArmyextdraw);*/
/*format(GetTerroristenTextdraw, sizeof(GetTerroristenTextdraw), "TerroristenTickets: ~y~%i", GetTerroristenTickets(playerid));
PlayerTextDrawSetString(playerid,Textdraw40[playerid],GetTerroristenTextdraw);*/
format(GetBestKillstreakTextdraw, sizeof(GetBestKillstreakTextdraw), "Hoechster Killstreak: ~y~%s", BesterKillstreak());
PlayerTextDrawSetString(playerid,Textdraw41[playerid],GetBestKillstreakTextdraw);
format(GetRankTextdraw, sizeof(GetRankTextdraw), "Rank: ~y~%s", GetRank(playerid));
PlayerTextDrawSetString(playerid,Textdraw42[playerid],GetRankTextdraw);
StatusBoxTextdrawsLoad(playerid);
return 1;
} -
Moin Leute,
ich bin grad dabei mein Eroberungsystem fertig zu machen, und es klappt alles für einen Spieler, aber wenn ich es mit meinem Spieler teste geht es nur für ID 0... warum? Ich hab bei mir eine Globae Variable die mit [MAX_PLAYERS] ist, und da sollen halt nur Zahlen eingetragen ,aber wenn er z.b. beim Spawnen abgefragt wird passiert nichts? Nur für ID 0 , ich möchte jetzt keinen Code einfügen weil der EWIG LANGE ist...
Wäre sehr korrekt von euch wenn ihr mir evlt. "Tipps" gibt woran es liegen könnte?
-
Am Anfang klappt alles perfekt! Jedoch am ende nicht, wenn die Nachricht kommt mit "Sie haben erfolgreich..." ab da wird die Nachricht mehrmals zugesickt , und der Balken spackt rum, also es flackert und so weiter.
(oben ist der Code )
-
Auf Anfrage in PN:@[GeD]Max:
Willst du, wenn du zum Beispiel Balken 4 dem Spieler anzeigst, dass dann auch Balken 1, 2 und 3 geladen sind?
Der ganze Code ist so verwirrend, weil du immer wieder alle Textdraws versteckst, danach dann wieder zeigst und so weiter.Also wenn ich es richtig verstehe, soll es ein Status sein, oder? Sprich wenn der 4. Balken angezeigt wird, dann sollen zwangsweise auch die anderen 3 davor angezeigt werden, oder?
Ja genau, also wenn der Spieler auf die Stelle reinläuft , dann soll der erste Balken angezeigt werden nach nach 1 Sekunder der 2 und der erste soll dann trz bleiben und so weiter, und dann ab den letzten balken sollen alle gelöscht werden(sehe letzten Balken5 oder Balken 4)
Das mit den Hide, soll halt abgefragt werden , wenn der Spieler z.b. geötet wurde während des Erobern sollen auch die Textdraws dann verschwinden, mir ist das nur mit dem Else eingefallen, anders weiß ich sonst nicht wie ich es machen soll...
-
Ich würde gerne an der Verlosung teilnehmen weil ich das Spiel so bombe finde!
-
Ich würde gerne gewinnen,weil ich mir gerne ein Spiel kaufen möchte!
-
Textdraw43 = Zeigt den Hintergrund der Ladebankeln an
Textdraw44 = Zeigt denn ersten grünen Balken
Textdraw45 = Zeigt denn zweiten grünen Balken
Textdraw46 = Zeigt denn dritten grünen Balken
Textdraw47 = Zeigt denn vierten grünen Balken
Textdraw48 = Zeigt denn fünften grünen Balken//Ganzen Publics:
public EroberungAbfrageMap1(playerid)
{
if(gTeam[playerid] == TEAM_USARMY)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 0) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw44[playerid]);//1
SetTimer("EroberungBalken1",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 0) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw44[playerid]);//1
SetTimer("EroberungBalken1",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 0) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw44[playerid]);//1
SetTimer("EroberungBalken1",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
else if(gTeam[playerid] == TEAM_RUSSLAND)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 1) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw44[playerid]);//1
SetTimer("EroberungBalken1",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 1) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw44[playerid]);//1
SetTimer("EroberungBalken1",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 1) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw44[playerid]);//1
SetTimer("EroberungBalken1",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
return 1;
}public EroberungBalken1(playerid)
{
if(gTeam[playerid] == TEAM_USARMY)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 0) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw45[playerid]);//2
SetTimer("EroberungBalken2",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 0) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw45[playerid]);//2
SetTimer("EroberungBalken2",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 0) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw45[playerid]);//2
SetTimer("EroberungBalken2",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
else if(gTeam[playerid] == TEAM_RUSSLAND)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 1) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw45[playerid]);//2
SetTimer("EroberungBalken2",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 1) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw45[playerid]);//2
SetTimer("EroberungBalken2",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 1) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw45[playerid]);//2
SetTimer("EroberungBalken2",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
return 1;
}
public EroberungBalken2(playerid)
{
if(gTeam[playerid] == TEAM_USARMY)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 0) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw46[playerid]);//3
SetTimer("EroberungBalken3",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 0) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw46[playerid]);//3
SetTimer("EroberungBalken3",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 0) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw46[playerid]);//3
SetTimer("EroberungBalken3",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
else if(gTeam[playerid] == TEAM_RUSSLAND)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 1) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw46[playerid]);//3
SetTimer("EroberungBalken3",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 1) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw46[playerid]);//3
SetTimer("EroberungBalken3",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 1) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw46[playerid]);//3
SetTimer("EroberungBalken3",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
return 1;
}
public EroberungBalken3(playerid)
{
if(gTeam[playerid] == TEAM_USARMY)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 0) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw47[playerid]);//4
SetTimer("EroberungBalken4",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 0) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw47[playerid]);//4
SetTimer("EroberungBalken4",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 0) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw47[playerid]);//4
SetTimer("EroberungBalken4",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
else if(gTeam[playerid] == TEAM_RUSSLAND)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 1) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw47[playerid]);//4
SetTimer("EroberungBalken4",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 1) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw47[playerid]);//4
SetTimer("EroberungBalken4",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 1) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw47[playerid]);//4
SetTimer("EroberungBalken4",1000,false);
}
else
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
return 1;
}
public EroberungBalken4(playerid)
{
if(gTeam[playerid] == TEAM_USARMY)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 0) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
CheckEroberungMap1A = 1;
SetTimer("EroberungBalken5",1000,false);
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}A{FFFFFF}' erobert!");
}
else if(!IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 0) // A
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 0) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
CheckEroberungMap1B = 1;
SetTimer("EroberungBalken5",1000,false);
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}B{FFFFFF}' erobert!");
}
else if(!IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 0) // B
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 0) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
CheckEroberungMap1C = 1;
SetTimer("EroberungBalken5",1000,false);
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}C{FFFFFF}' erobert!");
}
else if(!IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 0) // C
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
else if(gTeam[playerid] == TEAM_RUSSLAND)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 1) // A
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
CheckEroberungMap1A = 0;
SetTimer("EroberungBalken5",1000,false);
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}A{FFFFFF}' erobert!");
}
else if(!IsPlayerInRangeOfPoint(playerid, 7.0, -226.1881,1167.8138,19.7422) && CheckEroberungMap1A == 1) // A
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 1) // B
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
CheckEroberungMap1B = 0;
SetTimer("EroberungBalken5",1000,false);
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}B{FFFFFF}' erobert!");
}
else if(!IsPlayerInRangeOfPoint(playerid, 7.0, -111.0474,1133.0267,19.7422) && CheckEroberungMap1B == 1) // B
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 1) // C
{
PlayerTextDrawShow(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawShow(playerid, Textdraw48[playerid]);//5
CheckEroberungMap1C = 0;
SetTimer("EroberungBalken5",1000,false);
SendClientMessage(playerid, 0xFF0000FF,"[INFO] {FFFFFF}Sie haben erfolgreich '{FF0000}C{FFFFFF}' erobert!");
}
else if(!IsPlayerInRangeOfPoint(playerid, 7.0, -11.3303,1219.5079,19.3527) && CheckEroberungMap1C == 1) // C
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
}
}
return 1;
}
public EroberungBalken5(playerid)
{
PlayerTextDrawHide(playerid, Textdraw43[playerid]);//Hintergrund
PlayerTextDrawHide(playerid, Textdraw44[playerid]);//1
PlayerTextDrawHide(playerid, Textdraw45[playerid]);//2
PlayerTextDrawHide(playerid, Textdraw46[playerid]);//3
PlayerTextDrawHide(playerid, Textdraw47[playerid]);//4
PlayerTextDrawHide(playerid, Textdraw48[playerid]);//5
return 1;
}Textdraws:
Textdraw44[playerid] = CreatePlayerTextDraw(playerid, 41.500000, 288.966796, "1");
PlayerTextDrawLetterSize(playerid, Textdraw44[playerid], 0.000000, 0.808643);
PlayerTextDrawTextSize(playerid, Textdraw44[playerid], 1.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw44[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw44[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw44[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw44[playerid], 16711935);
PlayerTextDrawSetShadow(playerid, Textdraw44[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw44[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw44[playerid], 8388863);
PlayerTextDrawFont(playerid, Textdraw44[playerid], 0);Textdraw45[playerid] = CreatePlayerTextDraw(playerid, 78.000000, 288.722351, "2");
PlayerTextDrawLetterSize(playerid, Textdraw45[playerid], 0.000000, 0.858643);
PlayerTextDrawTextSize(playerid, Textdraw45[playerid], 37.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw45[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw45[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw45[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw45[playerid], 16711935);
PlayerTextDrawSetShadow(playerid, Textdraw45[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw45[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw45[playerid], 8388863);
PlayerTextDrawFont(playerid, Textdraw45[playerid], 0);Textdraw46[playerid] = CreatePlayerTextDraw(playerid, 120.000000, 289.100128, "3");
PlayerTextDrawLetterSize(playerid, Textdraw46[playerid], 0.000000, 0.808643);
PlayerTextDrawTextSize(playerid, Textdraw46[playerid], 74.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw46[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw46[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw46[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw46[playerid], 16711935);
PlayerTextDrawSetShadow(playerid, Textdraw46[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw46[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw46[playerid], 8388863);
PlayerTextDrawFont(playerid, Textdraw46[playerid], 0);Textdraw47[playerid] = CreatePlayerTextDraw(playerid, 155.500000, 288.855682, "4");
PlayerTextDrawLetterSize(playerid, Textdraw47[playerid], 0.000000, 0.858643);
PlayerTextDrawTextSize(playerid, Textdraw47[playerid], 112.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw47[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw47[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw47[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw47[playerid], 16711935);
PlayerTextDrawSetShadow(playerid, Textdraw47[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw47[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw47[playerid], 8388863);
PlayerTextDrawFont(playerid, Textdraw47[playerid], 0);Textdraw48[playerid] = CreatePlayerTextDraw(playerid, 167.500000, 289.233459, "5");
PlayerTextDrawLetterSize(playerid, Textdraw48[playerid], 0.000000, 0.808643);
PlayerTextDrawTextSize(playerid, Textdraw48[playerid], 151.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw48[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw48[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw48[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw48[playerid], 16711935);
PlayerTextDrawSetShadow(playerid, Textdraw48[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw48[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw48[playerid], 8388863);
PlayerTextDrawFont(playerid, Textdraw48[playerid], 0);//EDIT:
ich hab es mal print, und da kommt immer raus dass die Textdraws ganezeit gelöscht werden , warum?
-
so sieht dann der Balken, aus eigentlich sollte er dann schon ganz grün sein.