Okay, das habe ich komplett vergessen.
Nun habe ich streamer in die server.txt eingetragen, allerdings wird mir beim starten der Server nun folgendes Fenster geöffnet:
Titel:
samp-server.exe - Systemfehler
Inhalt:
Das Programm kann nicht gestartet werden, da MSVCR120.dll auf dem
Computer fehlt. Installieren erneut, um das Prroblem zu beheben.
nun habe ich die DLL bereits über DLL-files gedownloadet und automatisch installieren lassen,
was keine Abhilfe geschafft hat. Auch beim manuellen installieren wird das Problem behoben.
Gruß
Habs geschafft, die .dll-Datei gehört in den Ordner in den man auch den Server startet.
Nun stehe ich aber vor den Problem, dass dieser Stock nichts liefert:
stock LoadLSbizSkinShop()
{
for(new i = 0; i < MAX_LSbizSkinShop; i++)
{
new query[1200], savingstring[24], string[128];
format(query, sizeof(query), "SELECT * FROM `lsbizskinshop` WHERE `LSbizSkinShop_ID` = %i", i);
mysql_query(query);
while(mysql_fetch_row_format(query,"|"))
{
mysql_fetch_field_row(savingstring, "LSbizSkinShop_ID"); LSbizSkinShopInfo[i][bLSbizSkinShop_ID] = strval(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_Name"); LSbizSkinShopInfo[i][bLSbizSkinShop_Name] = savingstring;
mysql_fetch_field_row(savingstring, "LSbizSkinShop_Preis"); LSbizSkinShopInfo[i][bLSbizSkinShop_Preis] = strval(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_Besitzer"); LSbizSkinShopInfo[i][bLSbizSkinShop_Besitzer] = savingstring;
mysql_fetch_field_row(savingstring, "LSbizSkinShop_Interior"); LSbizSkinShopInfo[i][bLSbizSkinShop_Interior] = strval(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_Wolrd"); LSbizSkinShopInfo[i][bLSbizSkinShop_World] = strval(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_EnterX"); LSbizSkinShopInfo[i][bLSbizSkinShop_EnterX] = floatstr(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_EnterY"); LSbizSkinShopInfo[i][bLSbizSkinShop_EnterY] = floatstr(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_EnterZ"); LSbizSkinShopInfo[i][bLSbizSkinShop_EnterZ] = floatstr(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_ExitX"); LSbizSkinShopInfo[i][bLSbizSkinShop_ExitX] = floatstr(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_ExitY"); LSbizSkinShopInfo[i][bLSbizSkinShop_ExitY] = floatstr(savingstring);
mysql_fetch_field_row(savingstring, "LSbizSkinShop_ExitZ"); LSbizSkinShopInfo[i][bLSbizSkinShop_ExitZ] = floatstr(savingstring);
}
new BizName[24]; format(BizName, 24, "%s", LSbizSkinShopInfo[i][bLSbizSkinShop_Name]);
strreplace(BizName, '_', ' ');
if(!strcmp(LSbizSkinShopInfo[i][bLSbizSkinShop_Besitzer], "Niemand", false)) format(string, sizeof(string), "%s\n[Zu Verkaufen!]\nPreis: %i\nBenutze '/enter' oder drücke 'F' zum das Gebäude zu betreten!", BizName, LSbizSkinShopInfo[i][bLSbizSkinShop_Preis]);
else format(string, sizeof(string), "%s\nBesitzer: %s\nBenutze '/enter' oder drücke 'F' zum das Gebäude zu betreten!", LSbizSkinShopInfo[i][bLSbizSkinShop_Name], LSbizSkinShopInfo[i][bLSbizSkinShop_Besitzer]);
LSbizSkinShopInfo[i][bLSbizSkinShop_Label] = CreateDynamic3DTextLabel(string, COLOR_YELLOW, LSbizSkinShopInfo[i][bLSbizSkinShop_EnterX], LSbizSkinShopInfo[i][bLSbizSkinShop_EnterY], LSbizSkinShopInfo[i][bLSbizSkinShop_EnterZ], 12, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1);
LSbizSkinShopInfo[i][bLSbizSkinShop_Pickup] = CreateDynamicPickup(1272, 1, LSbizSkinShopInfo[i][bLSbizSkinShop_EnterX], LSbizSkinShopInfo[i][bLSbizSkinShop_EnterY], LSbizSkinShopInfo[i][bLSbizSkinShop_EnterZ], -1);
printf("Hallo :%i", LSbizSkinShopInfo[i][bLSbizSkinShop_ID]);
if(IsBusinessOwned(i)) printf("LSbizSkinShop %i wurde geladen; Name: %s", i, LSbizSkinShopInfo[i][bLSbizSkinShop_Name]);
}
return 1;
}