Das ist doch potthässlich...
Beiträge von Exqoolz
-
-
//======= STATS DIALOG BOX ========//
Function Stats(playerid,targetid)
{
if(IsPlayerConnected(targetid))
{
new cash = GetPlayerMoney(targetid);
new atext[20];
if(PlayerInfo[targetid][pSex] == 1) { atext = "Männlich"; }
else if(PlayerInfo[targetid][pSex] == 2) { atext = "Weiblich"; }
new otext[20];
if(PlayerInfo[targetid][pOrigin] == 1) { otext = "Deutschland"; }
else if(PlayerInfo[targetid][pOrigin] == 2) { otext = "Osterreich"; }
else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "Schweiz"; }
else if(PlayerInfo[targetid][pOrigin] == 4) { otext = "Türkei"; }
new ttext[20];
new leader = PlayerInfo[targetid][pLeader];
new member = PlayerInfo[targetid][pMember];
if(gTeam[targetid] == 3 || gTeam[targetid] == 4) { ttext = "Zivilist"; }
else
{
if(leader != 0) ttext = Fracs[leader-1];
if(member != 0) ttext = Fracs[member-1];
}
new dtext[20];
if(STDPlayer[targetid] == 1) { dtext = "Chlamydia"; }
else if(STDPlayer[targetid] == 2) { dtext = "Gonorrhea"; }
else if(STDPlayer[targetid] == 3) { dtext = "Syphilis"; }
else { dtext = "Keine"; }
new ftext[20];
if(PlayerInfo[targetid][pMember] == 4 || PlayerInfo[targetid][pLeader] == 4)
{ ftext = "Sanitärer"; }
else if(PlayerInfo[targetid][pMember] == 5 || PlayerInfo[targetid][pLeader] == 5)
{ ftext = "La Cosa Nostra"; }
else if(PlayerInfo[targetid][pMember] == 6 || PlayerInfo[targetid][pLeader] == 6)
{ ftext = "Yakuza"; }
else if(PlayerInfo[targetid][pMember] == 11 || PlayerInfo[targetid][pLeader] == 11)
{ ftext = "Fahrlehrer"; }
else
{ ftext = "Keine"; }
new f2text[20];
new rtext[64];
if(gTeam[targetid] == 5 || PlayerInfo[targetid][pFMember] < 255)//The 2 Organisations
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Solitario"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Adepto"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldato"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Consiguere"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Destro"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Don"; }
else { rtext = "Bambino"; }
}
else if(PlayerInfo[targetid][pMember] == 1 || PlayerInfo[targetid][pLeader] == 1)//PD Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Auszubildender Polizist"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Ausgebildeter Polizist"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Streifenpolizist-Zufuß"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Polizeistreife-Auto"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Pressesprecher der Polizei"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Einsatzleitung"; }
else { rtext = "Cadet"; }
}
else if(PlayerInfo[targetid][pMember] == 2 || PlayerInfo[targetid][pLeader] == 2)//FBI Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Auszubildender Polizist"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Ausgebildeter Polizist"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Streifenpolizist-Zufuß"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Polizeistreife-Auto"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Pressesprecher der Polizei"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Einsatzleitung"; }
else { rtext = "Cadet"; }
}
else if(PlayerInfo[targetid][pMember] == 19 || PlayerInfo[targetid][pLeader] == 19)//RS
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Anfänger"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Erfahrener"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Killer"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Elite"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zweite Hand"; }
else if(PlayerInfo[targetid][pRank] == 6 || PlayerInfo[targetid][pRank] == 12) { rtext = "Red King"; }
else { rtext = "Neuling"; }
}
else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21)//WHEELMEN
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Anfänger"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Member"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Spezial Member"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Ausbilder"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Co-Leader"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Leader"; }
else { rtext = "Anfänger"; }
}
else if(PlayerInfo[targetid][pMember] == 3 || PlayerInfo[targetid][pLeader] == 3)//NG Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Private"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sergeant"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Major"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Captain"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Lieutenant"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "General"; }
else { rtext = "Private"; }
}
else if(PlayerInfo[targetid][pMember] == 7 || PlayerInfo[targetid][pLeader] == 7)
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Personenschutz-Azubi"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Personenschutz"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Personenschutz-Leiter"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Geheimdienst-Azubi"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Geheimdienst"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Geheimdienst Leiter"; }
else if(PlayerInfo[targetid][pRank] >= 7 && PlayerInfo[targetid][pRank] < 12) { rtext = "Minister"; }
else if(PlayerInfo[targetid][pRank] == 12) { rtext = "Bundesregierung"; }
else { rtext = "Private"; }
}
else if(PlayerInfo[targetid][pMember] == 8 || PlayerInfo[targetid][pLeader] == 8)//Hitman Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Azubi"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Sniper"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Killer"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Ausbilder"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Right Hand"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Big Boss"; }
else { rtext = "Praktikant"; }
}
else if(PlayerInfo[targetid][pMember] == 21 || PlayerInfo[targetid][pLeader] == 21)
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Neuling"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Söldner"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Attentäter"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Massenmörder"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Vize-Direktor"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Direktor"; }
else { rtext = "Praktikant"; }
}
else if(PlayerInfo[targetid][pMember] == 9 || PlayerInfo[targetid][pLeader] == 9)//NR Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Intern"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Local Reporter"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Local Editor"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Network Anchor"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Network Editor"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Network Producer"; }
else { rtext = "Intern"; }
}
else if(PlayerInfo[targetid][pMember] == 10 || PlayerInfo[targetid][pLeader] == 10)//Taxi Company Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Taxi Rookie"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Cabbie"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Dispatcher"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Shift Supervisor"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Taxi Company Owner"; }
else { rtext = "Trainee"; }
}
else if(IsAnInstructor(targetid))//Driving/Flying School Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Trainee"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Instructor"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Senior Instructor"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Manager"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Under Boss"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Boss"; }
else { rtext = "Trainee"; }
}
else
{
rtext = "Keinen Rank";
}
new jtext[20];
if(PlayerInfo[targetid][pJob] == 0) { jtext = "Keinen"; }
else if(PlayerInfo[targetid][pJob] == 1) { jtext = "Detektiv"; }
else if(PlayerInfo[targetid][pJob] == 2) { jtext = "Anwalt"; }
else if(PlayerInfo[targetid][pJob] == 3) { jtext = "Hure"; }
else if(PlayerInfo[targetid][pJob] == 4) { jtext = "Drogendealer"; }
else if(PlayerInfo[targetid][pJob] == 5) { jtext = "Autodieb"; }
else if(PlayerInfo[targetid][pJob] == 6) { jtext = "Farmer"; }
else if(PlayerInfo[targetid][pJob] == 7) { jtext = "Mechaniker"; }
else if(PlayerInfo[targetid][pJob] == 8) { jtext = "Bodyguard"; }
else if(PlayerInfo[targetid][pJob] == 9) { jtext = "Waffendealer"; }
else if(PlayerInfo[targetid][pJob] == 10) { jtext = "Autohändler"; }
else if(PlayerInfo[targetid][pJob] == 12) { jtext = "Boxer"; }
else if(PlayerInfo[targetid][pJob] == 14) { jtext = "Busfahrer"; }
else if(PlayerInfo[targetid][pJob] == 15) { jtext = "Zeitungsjunge"; }
else if(PlayerInfo[targetid][pJob] == 16) { jtext = "Pilot"; }
else if(PlayerInfo[targetid][pJob] == 17) { jtext = "Müllmann"; }
else if(PlayerInfo[targetid][pJob] == 20) { jtext = "Hartz IV"; }
else if(PlayerInfo[targetid][pJob] == 21) { jtext = "Taschendieb"; }
else { jtext = "Keinen Job"; }
new drank[20];
if(PlayerInfo[targetid][pDonateRank] == 0) { drank = "Keinen"; }
else if(PlayerInfo[targetid][pDonateRank] == 1) { drank = "Donator"; }
else if(PlayerInfo[targetid][pDonateRank] == 2) { drank = "Premium User"; }
else if(PlayerInfo[targetid][pDonateRank] == 3) { drank = "EhrenMember"; }
else if(PlayerInfo[targetid][pDonateRank] == 4) { drank = "EliteMember"; }
else { drank = "Keinen"; }
new married[20];
strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
new age = PlayerInfo[targetid][pAge];
// new ptime = PlayerInfo[targetid][pConnectTime];
// new lotto = PlayerInfo[targetid][pLottoNr];
new deaths = PlayerInfo[targetid][pDeaths];
// new fishes = PlayerInfo[targetid][pFishes];
// new bigfish = PlayerInfo[targetid][pBiggestFish];
// new crimes = PlayerInfo[targetid][pCrimes];
// new arrests = PlayerInfo[targetid][pArrested];
new drugs = PlayerInfo[targetid][pDrugs];
new mats = PlayerInfo[targetid][pMats];
// new boxdrugs = PlayerInfo[targetid][pBoxDrugs];
// new boxmats = PlayerInfo[targetid][pBoxMats];
// new wanted = WantedLevel[targetid];
// new adminlevel = PlayerInfo[targetid][pAdmin];
new level = PlayerInfo[targetid][pLevel];
new exp = PlayerInfo[targetid][pExp];
new kills = PlayerInfo[targetid][pKills];
new pnumber = PlayerInfo[targetid][pPnumber];
new ppin = PlayerInfo[targetid][pPin];
new account = PlayerInfo[targetid][pAccount];
new nxtlevel = PlayerInfo[targetid][pLevel]+1;
new expamount = nxtlevel*levelexp;
new costlevel = nxtlevel*levelcost;//10k for testing purposes
// new housekey = PlayerInfo[targetid][pPhousekey];
// new bizkey = PlayerInfo[targetid][pPbiskey];
// new intir = PlayerInfo[targetid][pInt];
// new local = PlayerInfo[targetid][pLocal];
new Float:shealth = PlayerInfo[targetid][pSHealth];
new Float:health;
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
GetPlayerHealth(targetid,health);
new Float:px,Float:py,Float:pz;
new Float:plHealth, Float:plArmour;
GetPlayerPos(targetid, px, py, pz);
new plIP[20];
GetPlayerHealth(targetid,plHealth);
GetPlayerArmour(targetid,plArmour);
GetPlayerIp(playerid,plIP,sizeof(plIP));new string1[200],string2[200],string3[200],string4[200],string5[200],string6[200],string7[200],string8[200],string9[200],string10[200],string11[200],string12[200],string13[200],string14[200],string15[200],string16[200],string17[200],string18[200],string19[200],string20[200],string21[200],string22[200],string23[200],string24[200],string25[200],string26[200],string28[200],rest[1500];
format(string1, sizeof string1, "{00E500}======[Stats von %s auf German Mystery Reallife]======{FFFFFF}", name);
format(string2, sizeof string2, "{FF0000}*Allgemeines------------------------{FFFFFF}");
format(string3, sizeof string3, " Level\t\t\t\t[%d]", level);
format(string4, sizeof string4, " PayDay\t\t\t\t[in %d Minuten]", 60-PlayerInfo[targetid][pPlayMinutes]);
format(string5, sizeof string5, " Telefonnummer\t\t[%d]", pnumber);
format(string6, sizeof string6, " Verheiratet mit\t\t\t[%s]", married);
format(string7, sizeof string7, " Bankpin\t\t[%d]", ppin);
format(string8, sizeof string8, " Geschlecht\t\t\t[%s]", atext);
format(string9, sizeof string9, " Herkunft\t\t\t[%s]", otext);
format(string10, sizeof string10, " Alter\t\t\t\t[%d]", age);
format(string11, sizeof string11, " Job\t\t\t\t[%s]\n", jtext);
format(string12, sizeof string12, "{FF0000}*Fraktion/Gang---------------------{FFFFFF}");
format(string13, sizeof string13, " Team\t\t\t\t[%s]", ttext);
format(string14, sizeof string14, " Organisation\t\t\t[%s]", ftext);
format(string15, sizeof string15, " Rang\t\t\t\t[%s]", rtext);
format(string16, sizeof string16, " Familie\t\t\t\t[%s]", f2text);
format(string17, sizeof string17, " Zuschuss\t\t\t[%d$]",PlayerInfo[targetid][pGehalt]);
format(string18, sizeof string18, "{FF0000}*Besitz------------------------------{FFFFFF}");
format(string19, sizeof string19, " Premium Rang\t\t\t[%s]", drank);
format(string20, sizeof string20, " Kills & Deaths\t\t\t[%d / %d]", kills,deaths);
format(string21, sizeof string21, " Bargeld\t\t\t[%d$]", cash);
format(string22, sizeof string22, " Bankkonto\t\t\t[%d$]", account);
format(string23, sizeof string23, " Materialien/Drogen\t\t[%d / %d]", mats, drugs);
format(string24, sizeof string24, " Verwarnungen\t\t\t[%d]", PlayerInfo[targetid][pWarns]);
format(string25, sizeof string25, " Respektpunkte\t\t[%d / %d]", exp, expamount);
format(string26, sizeof string26, " Lv. Up kosten\t\t\t[%d $]", costlevel);
//format(string27, sizeof string27, " Lotto Nummer [%d]",lotto);format(rest, sizeof rest, "%s\n\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s", string1,string2,string3,string4,string5,string6,string7,string8,string9,string10,string11,string12,string13,string14,string15,string16,string17,string18,string19,string20,string21,string22,string23,string24,string25,string26,string28);
ShowPlayerDialog(playerid,30,DIALOG_STYLE_MSGBOX,"Statistik",rest,"Ok","");}
return 1;
} -
Hab ich
-
also in /gequip will ich dass auch
das hier abgefragt wird:
if(IsPlayerInRangeOfPoint(playerid,2.0,1272.9819,-800.3746,1089.9298) || IsPlayerInRangeOfPoint(playerid,2.0,1958.1266,986.5524,992.4688) || IsPlayerInRangeOfPoint(playerid,2.0,-2164.0723,641.3340,1057.5933) ||IsPlayerInRangeOfPoint(playerid,2.0,-2422.5806,342.4432,36.9974) || IsPlayerInRangeOfPoint(playerid,2.0,315.9215,1118.7590,1083.8828) ||IsPlayerInRangeOfPoint(playerid,2.0,1123.8663,-1.4310,1000.6797) || IsPlayerInRangeOfPoint(playerid,2.0,503.0312,-75.3989,998.7651) ||IsPlayerInRangeOfPoint(playerid,2.0,1220.4254,4.7534,1000.9219) || IsPlayerInRangeOfPoint(playerid,2.0,-222.4017,1410.3318,27.7734) ||IsPlayerInRangeOfPoint(playerid,2.0,236.6648,1074.6542,1084.2344) || IsPlayerInRangeOfPoint(playerid,2.0,2805.5818,-1171.5667,1025.5703) ||IsPlayerInRangeOfPoint(playerid,2.0,2553.2783,-1290.0443,1060.9844) || IsPlayerInRangeOfPoint(playerid,2.0,1733.8542,-1659.5723,20.2432))und bei /check kommt SERVER: Unknown Command .
-
Hallo, liebe Breadfish Community, mal wieder eine Frage.
1. Wie bekomme ich in den Befehlif(strcmp(cmd,"/gequip",true) == 0)
{
if(IsAGang(playerid))
{
GivePlayerWeapon(playerid, 24, 250);
GivePlayerWeapon(playerid, 25,500);
GivePlayerWeapon(playerid, 29,500);
GivePlayerMoney(playerid,-2000);
SendClientMessage(playerid, COLOR_GRAD1, "Du hast Waffen erhalten und dir wurden 2000$ abgezogen.");
}
else SendClientMessage(playerid,COLOR_RED,"Du bist kein Gangmitglied oder befindest dich net am richtigen Ort.");
return 1;
}Das hier:
if(IsPlayerInRangeOfPoint(playerid,2.0,1272.9819,-800.3746,1089.9298) || IsPlayerInRangeOfPoint(playerid,2.0,1958.1266,986.5524,992.4688) || IsPlayerInRangeOfPoint(playerid,2.0,-2164.0723,641.3340,1057.5933) ||IsPlayerInRangeOfPoint(playerid,2.0,-2422.5806,342.4432,36.9974) || IsPlayerInRangeOfPoint(playerid,2.0,315.9215,1118.7590,1083.8828) ||IsPlayerInRangeOfPoint(playerid,2.0,1123.8663,-1.4310,1000.6797) || IsPlayerInRangeOfPoint(playerid,2.0,503.0312,-75.3989,998.7651) ||IsPlayerInRangeOfPoint(playerid,2.0,1220.4254,4.7534,1000.9219) || IsPlayerInRangeOfPoint(playerid,2.0,-222.4017,1410.3318,27.7734) ||IsPlayerInRangeOfPoint(playerid,2.0,236.6648,1074.6542,1084.2344) || IsPlayerInRangeOfPoint(playerid,2.0,2805.5818,-1171.5667,1025.5703) ||IsPlayerInRangeOfPoint(playerid,2.0,2553.2783,-1290.0443,1060.9844) || IsPlayerInRangeOfPoint(playerid,2.0,1733.8542,-1659.5723,20.2432))
rein?
2.
if (strcmp(cmd, "/check", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "Benutzung: /check [Spieler ID]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
Stats(playerid,giveplayerid);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Der Spieler wurde nicht gefunden!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist nicht befugt!");
}
}
return 1;
}Was ist an diesem Befehl falsch da kommt SERVER: Unknown Commandhoffe ihr könnt mir helfen
-
Hallo,
liebe Breadfish Community
da ich nicht so erfahren bin weiß ich net wie man das fixxt.
bitte helft mirD:\GMR\gamemodes\GMR.pwn(14530) : error 032: array index out of bounds (variable "FahrschulVehs")
FahrschulVehs[1] = AddStaticVehicleEx(560,-2068.4370,-82.5643,35.1641,180.1582,1,1,-1); // Sultan 1 FahrschulVehs[2] = AddStaticVehicleEx(560,-2064.3726,-81.5643,35.1641,180.1583,1,1,-1); // Sultan 2 FahrschulVehs[3] = AddStaticVehicleEx(522,-2072.6926,-81.5643,35.1641,176.7115,1,1,-1); // NRG 1 FahrschulVehs[4] = AddStaticVehicleEx(522,-2077.0012,-81.5643,35.1641,177.0249,1,1,-1); // NRG 2 FahrschulVehs[5] = AddStaticVehicleEx(487,-2071.8640,-99.2823,35.1641,268.2058,1,1,-1); // Maverick 1 FahrschulVehs[6] = AddStaticVehicleEx(515,-2094.0481,-85.8580,35.1641,180.1582,1,1,-1); // Roadtrain 1 FahrschulVehs[7] = AddStaticVehicleEx(584,-2090.0339,-100.6159,35.1641,271.9658,1,1,-1); // Petrol Trailer 1
14530 is die letzte.
-
Danke, es funktioniert.
Danke an allen die geholfen haben -
Dann kommt
D:\GMR\gamemodes\GMR.pwn(28324) : error 001: expected token: ",", but found "{" -
Hallo,
liebe Breadfish Community
da ich nicht so erfahren bin weiß ich net wie man ein IsPlayerInRangeofPoint in ein Strcat packt
bitte helft mirif(IsPlayerInRangeOfPoint(playerid,2.0,1272.9819,-800.3746,1089.9298) || IsPlayerInRangeOfPoint(playerid,2.0,1958.1266,986.5524,992.4688) || IsPlayerInRangeOfPoint(playerid,2.0,-2164.0723,641.3340,1057.5933) || IsPlayerInRangeOfPoint(playerid,2.0,-2422.5806,342.4432,36.9974) || IsPlayerInRangeOfPoint(playerid,2.0,315.9215,1118.7590,1083.8828) || IsPlayerInRangeOfPoint(playerid,2.0,1123.8663,-1.4310,1000.6797 || IsPlayerInRangeOfPoint(playerid,2.0,503.0312,-75.3989,998.7651 || IsPlayerInRangeOfPoint(playerid,2.0,1220.4254,4.7534,1000.9219 || IsPlayerInRangeOfPoint(playerid,2.0,-222.4017,1410.3318,27.7734 || IsPlayerInRangeOfPoint(playerid,2.0,236.6648,1074.6542,1084.2344 || IsPlayerInRangeOfPoint(playerid,2.0,2805.5818,-1171.5667,1025.5703 || IsPlayerInRangeOfPoint(playerid,2.0,2553.2783,-1290.0443,1060.9844 || IsPlayerInRangeOfPoint(playerid,2.0,1733.8542,-1659.5723,20.2432))