Wie löst man es, das die BIZ's wieder richtig angezeigt werden? Problem ist, das sich die BIZ's verschieben, z.b LSPD Waffenkammer ist an der Bank LS. Ist ein IR/RGR Script - problem sollte bekannt sein. Sollte jemand auch schon damit zutun gehabt haben, würde ich mich über hilfe freuen - vielen Dank im voraus!
BIZ Verschiebung IR
- varrez
- Geschlossen
- Erledigt
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
Indem man das im Script einfach sucht und umändert.
Die Namen sind nur verschoben, by the way. -
Meinte damit eher, es so zu fixen, das es garnicht erst zu der Verschiebung kommt - wenn ich die .cfg lösche wird sie ja wieder falsch erstellt.
#define MaxBiz 18
new Text3D:Biz[MaxBiz];
new BizPickup[MaxBiz];
enum bInfo
{
bOwned,
bOwner[MAX_PLAYER_NAME],
bMessage[128],
bExtortion[MAX_PLAYER_NAME],
Float:bEntranceX,
Float:bEntranceY,
Float:bEntranceZ,
Float:bExitX,
Float:bExitY,
Float:bExitZ,
bLevelNeeded,
bBuyPrice,
bEntranceCost,
bTill,
bLocked,
bInterior,
bProducts,
bMaxProducts,
bPriceProd,
bWorld,
bExtortionTill,
};
new BizInfo[MaxBiz][bInfo] =
{
{1,"Staat","Gun Shop SF","Niemand",-2626.4827,209.3238,4.6004,285.6058,-86.0131,1001.5229,5,5000000,0,0,1,4,100000,100000,100,1,0},
{1,"Staat","Gun Shop LS","Niemand",1791.5143,-1164.1787,23.8281,2169.461181,1618.798339,999.976562,5,5000000,0,0,1,1,100000,100000,100,2,0},
{0,"Staat","Restaurant","Niemand",1420.1936,-1623.8427,13.5469,-794.936218,490.632385,1376.195312,5,5000000,0,0,1,1,100,500,100,3,0},
{1,"Staat","LS Polizei Waffenkammer","Niemand",1568.625122,-1690.535766,5.890600,246.376007,109.246002,1003.218811,5,5000000,0,0,0,10,100000,1000000,100,1,0},
{1,"Staat","Bank LS","Niemand",1462.395751,-1012.391174,26.843799,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,1,0},
{1,"Staat","SF Polizei Waffenkammer","Niemand",-1593.8340,716.2302,-5.2422,226.7151,110.9211,1010.2188,5,5000000,0,0,1,10,100000,1000000,100,2,0},
{1,"Staat","LV Polizei Waffenkammer","Niemand",611.0042,-583.9974,17.9763,227.3422,122.0904,1010.2188,5,5000000,0,0,0,10,100000,1000000,100,3,0},
{1,"Staat","Bank SF","Niemand",-1749.3010,867.1620,25.0859,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,2,0},
{1,"Staat","Rentbike","Niemand",1312.5642,-873.9422,39.5781,1312.5642,-873.9422,39.5781,5,5000000,0,0,0,0,99999,100000,1,0,0},
{1,"Staat","Ammu Nation","Niemand",1367.9816,-1279.9513,13.5469,286.148986,-40.644397,1001.515625,5,5000000,0,0,1,1,100000,100000,100,4,0},
{1,"Staat","Gun Shop LV","Niemand",2158.5098,943.0615,10.8203,296.919982,-108.071998,1001.515625,5,5000000,0,0,1,6,100000,100000,100,5,0},
{0,"Staat","Alhambra","Niemand",1834.9247,-1682.5403,13.4112,493.2791,-24.2553,1000.6797,5,5000000,0,0,1,17,500,500,100,2,0},
{0,"Staat","Jizzy","Niemand",-2624.2668,1411.7013,7.0938,-2636.5610,1403.2194,906.4609,5,5000000,0,0,1,3,500,500,100,2,0},
{0,"Staat","Donator Autohaus","Niemand",2200.5083,1394.3988,11.0625,2200.5083,1394.3988,11.0625,5,5000000,0,0,1,0,500,500,100,0,0},
{0,"Staat","Telefon GmbH","Niemand",1382.1464,-1088.7307,28.2098,-2240.3855,137.1735,1035.4141,5,10000000,0,0,1,6,500,500,100,2,0},
{1,"Staat","Ammu Nation Angle Pine","Niemand",-2093.2163,-2464.3862,30.6250,316.524993,-167.706985,999.593750,5,5000000,0,0,1,6,100000,100000,100,8,0},
{1,"Staat","Bank LV","Niemand",938.7953,1733.1140,8.8516,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,3,0},
{0,"Staat","Restauant 2","Niemand",279.2695,-1434.8055,13.9603,-794.936218,490.632385,1376.195312,5,210000,0,0,1,1,100,500,100,3,0}
};while (idx < sizeof(BizInfo))//Normale Speicherung
{
new coordsstring[256];
format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%d|%d|%d|%d|%d|%d|%d|%d|%d\n",
BizInfo[idx][bOwned],
BizInfo[idx][bOwner],
BizInfo[idx][bMessage],
BizInfo[idx][bExtortion],
BizInfo[idx][bLevelNeeded],
BizInfo[idx][bBuyPrice],
BizInfo[idx][bEntranceCost],
BizInfo[idx][bTill],
BizInfo[idx][bLocked],
BizInfo[idx][bProducts],
BizInfo[idx][bMaxProducts],
BizInfo[idx][bPriceProd],
BizInfo[idx][bExtortionTill]);
if(idx == 0)
{
file2 = fopen("Configs/Biz.cfg", io_write);
}
else
{
file2 = fopen("Configs/Biz.cfg", io_append);
}
fwrite(file2, coordsstring);
idx++;
fclose(file2);
} -
Verschieb die Coordinaten der Biz aufs Meer oder mach das so:
#define MaxBiz 17
new Text3D:Biz[MaxBiz];
new BizPickup[MaxBiz];
enum bInfo
{
bOwned,
bOwner[MAX_PLAYER_NAME],
bMessage[128],
bExtortion[MAX_PLAYER_NAME],
Float:bEntranceX,
Float:bEntranceY,
Float:bEntranceZ,
Float:bExitX,
Float:bExitY,
Float:bExitZ,
bLevelNeeded,
bBuyPrice,
bEntranceCost,
bTill,
bLocked,
bInterior,
bProducts,
bMaxProducts,
bPriceProd,
bWorld,
bExtortionTill,
};
new BizInfo[MaxBiz][bInfo] =
{
{1,"Staat","Gun Shop SF","Niemand",-2626.4827,209.3238,4.6004,285.6058,-86.0131,1001.5229,5,5000000,0,0,1,4,100000,100000,100,1,0},
{1,"Staat","Gun Shop LS","Niemand",1791.5143,-1164.1787,23.8281,2169.461181,1618.798339,999.976562,5,5000000,0,0,1,1,100000,100000,100,2,0},
{0,"Staat","Restaurant","Niemand",1420.1936,-1623.8427,13.5469,-794.936218,490.632385,1376.195312,5,5000000,0,0,1,1,100,500,100,3,0},
{1,"Staat","LS Polizei Waffenkammer","Niemand",1568.625122,-1690.535766,5.890600,246.376007,109.246002,1003.218811,5,5000000,0,0,0,10,100000,1000000,100,1,0},
{1,"Staat","Bank LS","Niemand",1462.395751,-1012.391174,26.843799,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,1,0},
{1,"Staat","SF Polizei Waffenkammer","Niemand",-1593.8340,716.2302,-5.2422,226.7151,110.9211,1010.2188,5,5000000,0,0,1,10,100000,1000000,100,2,0},
{1,"Staat","LV Polizei Waffenkammer","Niemand",611.0042,-583.9974,17.9763,227.3422,122.0904,1010.2188,5,5000000,0,0,0,10,100000,1000000,100,3,0},
{1,"Staat","Bank SF","Niemand",-1749.3010,867.1620,25.0859,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,2,0},
{1,"Staat","Rentbike","Niemand",1312.5642,-873.9422,39.5781,1312.5642,-873.9422,39.5781,5,5000000,0,0,0,0,99999,100000,1,0,0},
{1,"Staat","Ammu Nation","Niemand",1367.9816,-1279.9513,13.5469,286.148986,-40.644397,1001.515625,5,5000000,0,0,1,1,100000,100000,100,4,0},
{1,"Staat","Gun Shop LV","Niemand",2158.5098,943.0615,10.8203,296.919982,-108.071998,1001.515625,5,5000000,0,0,1,6,100000,100000,100,5,0},
{0,"Staat","Alhambra","Niemand",1834.9247,-1682.5403,13.4112,493.2791,-24.2553,1000.6797,5,5000000,0,0,1,17,500,500,100,2,0},
{0,"Staat","Jizzy","Niemand",-2624.2668,1411.7013,7.0938,-2636.5610,1403.2194,906.4609,5,5000000,0,0,1,3,500,500,100,2,0},
{0,"Staat","Donator Autohaus","Niemand",2200.5083,1394.3988,11.0625,2200.5083,1394.3988,11.0625,5,5000000,0,0,1,0,500,500,100,0,0},
{0,"Staat","Telefon GmbH","Niemand",1382.1464,-1088.7307,28.2098,-2240.3855,137.1735,1035.4141,5,10000000,0,0,1,6,500,500,100,2,0},
{1,"Staat","Ammu Nation Angle Pine","Niemand",-2093.2163,-2464.3862,30.6250,316.524993,-167.706985,999.593750,5,5000000,0,0,1,6,100000,100000,100,8,0},
{1,"Staat","Bank LV","Niemand",938.7953,1733.1140,8.8516,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,3,0}
};
Also: Änder MaxBiz18 zu z.b 17. Entferne nun die Biz. Die Letzte Biz darf hinten immmer kein Komma haben sonst Error. Jedoch musst du nun im Script da teilweise die Bizen nun eine Andere Nummer haben diese Anpassen. Daher würd ich die Bizen einfach weit aufs Meer verschieben. -
breadfish.de
Hat das Thema geschlossen.