wie werden die bizzes abgespeichert im GF ?

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
  • Hallo, wie heißt die Funktion, womit die bizzes gesaved werden im GF,DDG,SoL oder so.
    finde da nur:



    forward OnPropUpdate();
    forward ExtortionBiz(bizid, money);
    forward ExtortionSBiz(bizid, money);
    forward ExtortiontBiz(bizid, money);
    forward LoadBizz();
    forward LoadSBizz();
    forward LoadStuff();
    forward SaveStuff();

    und was bringt die funktion extortionbiz:

    public ExtortionBiz(bizid, money)
    {
    new string[256];
    format(string, sizeof(string), "Niemand");
    if(strcmp(BizzInfo[bizid][bExtortion],string, true ) == 0 )
    {
    return 0;
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    new name[MAX_PLAYER_NAME];
    new wstring[MAX_PLAYER_NAME];
    GetPlayerName(i, name, sizeof(name));
    format(string, sizeof(string), "%s", name);
    strmid(wstring, string, 0, strlen(string), 999);
    if(strcmp(BizzInfo[bizid][bExtortion] ,wstring, true ) == 0 )
    {
    new value = money / 100;
    value = value * 10;
    PlayerMoney[i] = PlayerMoney[i]+value;
    BizzInfo[bizid][bTill] -= value;
    }
    }
    }
    return 1;
    }


    VIELEN DANK :love: :love:


    MFG