Beiträge von sunny607

    Auf meinen server können sich andere einloggen wenn ich versuche rein zu joinen kommt nicht mal ein dialog bei andern schon


    hab router schon mehrmals neu gestartet liegt es am scrip?

    habe es so


    if(strcmp(cmd, "/fillcars", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
    for(new c=0;c<CAR_AMOUNT;c++)
    {
    Gas[code=c] = GetGasMax(GetVehicleModel(c));
    }
    SendClientMessage(playerid, COLOR_GREY, " Alle Autos wurden gefüllt ! ");
    }
    else
    {
    SendClientMessage(playerid, COLOR_GREY, " Du bist nicht befugt ! ");
    return 1;
    }
    }
    return 1;
    }


    da steht zwar alle wurden betankt hat aber nix bekommen

    spawn fehler hab es so eingefügt


    public OnPlayerSpawn(playerid)
    {
    if(dini_Int(hauscfg,"Nutze_Spawnsystem") == 1)
    {
    if(playerD[playerid][spawn] == 0)
    {
    SetPlayerPos(playerid,dini_Float(hauscfg,"S_Spawnx"),dini_Float(hauscfg,"S_Spawny"),dini_Float(hauscfg,"S_Spawnz"));
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    return 1;
    }
    else
    {
    for(new i = 0; MAX_HAUS >= i; i++)
    {
    if(strcmp(haus[i][besitzer],getPlayerName(playerid),false) == 0)
    {
    new inter[128];
    format(inter,sizeof(inter),"/Interiors/Interior%i.txt",haus[i][interior]);
    SetPlayerPos(playerid,dini_Float(inter,"SpawnX"),dini_Float(inter,"SpawnY"),dini_Float(inter,"SpawnZ"));
    SetPlayerInterior(playerid,haus[i][interior]);
    SetPlayerVirtualWorld(playerid,haus[i][vworld]);
    enterid[playerid] = haus[i][id];
    return 1;
    }
    new HDatei[128];
    format(HDatei,sizeof(HDatei),"/Haus/Haus%i.cfg",haus[i][id]);
    new maxmieter = dini_Int(hauscfg,"Max_Mieter");
    for(new x = 0; maxmieter > x; x++)
    {
    new mietername[128];
    format(mietername,sizeof(mietername),"Mieter%i",x);
    if(strcmp(dini_Get(HDatei,mietername),"",false) == 0)
    {
    new inter[128];
    format(inter,sizeof(inter),"/Interiors/Interior%i.txt",haus[i][interior]);
    SetPlayerPos(playerid,dini_Float(inter,"SpawnX"),dini_Float(inter,"SpawnY"),dini_Float(inter,"SpawnZ"));
    SetPlayerInterior(playerid,haus[i][interior]);
    SetPlayerVirtualWorld(playerid,haus[i][vworld]);
    enterid[playerid] = haus[i][id];
    return 1;
    }
    }
    }
    SetPlayerPos(playerid,dini_Float(hauscfg,"S_Spawnx"),dini_Float(hauscfg,"S_Spawny"),dini_Float(hauscfg,"S_Spawnz"));
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    return 1;
    }
    }
    return 1;
    }




    und nun kommen diese erros



    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8603) : error 021: symbol already defined: "OnPlayerSpawn"
    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8604) : error 017: undefined symbol "hauscfg"
    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8606) : error 017: undefined symbol "playerD"
    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8606) : warning 215: expression has no effect
    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8606) : error 001: expected token: ";", but found "]"
    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8606) : error 029: invalid expression, assumed zero
    C:\Users\Julia\Desktop\test 2\test\pawno\rl.pwn(8606) : fatal error 107: too many error messages on one line

    das steht in log




    und das steht im gm



    Function OnPlayerSpawn(playerid)
    {
    CallRemoteFunction("OnPlayerSpawn_Call", "d", playerid);
    if(IsPlayerNPC(playerid))
    {