Scriptfiles Bug

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
  • Guten Abend,
    Ich mache mich immer Admin.
    Per scriptfiles.
    Aber das funktioniert da irgendwie nicht.
    Ich stelle mein Adminlevel auf lvl. 5
    Ich geh ingame. Und da steht "Du bist kein Administrator"


    Bevor andere denken:
    dass das befehl "Auf z.B 2002 Admin" zugewiesen ist.
    Nein, das wurde perfekt eingestellt. 1-5 Adminlevels.


    Mfg

  • Aus der Ini:
    Passwort=zensiert
    Adminlevel=5
    Level=0
    Fraktion=0
    Team=0


    Aus Pawn der Stock:
    stock SpielerLaden(playerid)
    {
    new Players[64];
    new Sname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,Sname,sizeof(Sname));
    format(Players,sizeof(Players),"/Players/%s.ini",Sname);
    if(dini_Exists(Players))
    {
    SetPlayerScore(playerid,dini_Get(Players,"Level");
    sSpieler[playerid][Adminlevel] = dini_Get(Players,"Adminlevel");
    sSpieler[playerid][Level] = dini_Get(Players,"Level");
    sSpieler[playerid][Fraktion] = dini_Get(Players,"Fraktion");
    sSpieler[playerid][Team] = dini_Get(Players,"Team");
    sSpieler[playerid][Login] = 1;
    SpawnPlayer(playerid);
    }
    return 1;
    }


    Mfg

  • Wird denn alles andere geladen?
    Mach das rein und Schick uns den Teil der Log:



    stock SpielerLaden(playerid)
    {
    new Players[64];
    new Sname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,Sname,sizeof(Sname));
    format(Players,sizeof(Players),"/Players/%s.ini",Sname);
    if(dini_Exists(Players))
    {
    SetPlayerScore(playerid,dini_Get(Players,"Level");
    sSpieler[playerid][Adminlevel] = dini_Get(Players,"Adminlevel");
    printf("Adminlevel %d", sSpieler[playerid][Adminlevel]);
    sSpieler[playerid][Level] = dini_Get(Players,"Level");
    sSpieler[playerid][Fraktion] = dini_Get(Players,"Fraktion");
    sSpieler[playerid][Team] = dini_Get(Players,"Team");
    sSpieler[playerid][Login] = 1;
    SpawnPlayer(playerid);
    }
    return 1;
    }

  • Log:


    [17:30:33] --- Server Shutting Down.
    [17:30:33]
    *** Audio Plugin v0.4 by Incognito unloaded ***


    [17:30:33]


    *** Streamer Plugin v2.5.2 by Incognito unloaded ***


    [17:30:33]


    [17:30:33] ===============================


    [17:30:33] sscanf plugin unloaded.


    [17:30:33] ===============================



    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3x, (C)2005-2013 SA-MP Team


    [17:30:42]
    [17:30:42] Server Plugins
    [17:30:42] --------------
    [17:30:42] Loading plugin: audio.so
    [17:30:42]
    *** Audio Plugin v0.4 by Incognito loaded ***


    [17:30:42] Loaded.
    [17:30:42] Loading plugin: streamer.so
    [17:30:42]


    *** Streamer Plugin v2.5.2 by Incognito loaded ***


    [17:30:42] Loaded.
    [17:30:42] Loading plugin: nativechecker.so
    [17:30:42] Loaded.
    [17:30:42] Loading plugin: sscanf.so
    [17:30:42]


    [17:30:42] ===============================


    [17:30:42] sscanf plugin loaded.


    [17:30:42] (c) 2009 Alex "Y_Less" Cole


    [17:30:42] 0.3d-R2 500 Players "dnee"


    [17:30:42] ===============================


    [17:30:42] Loaded.
    [17:30:42] Loaded 4 plugins.


    [17:30:42]
    [17:30:42] Ban list
    [17:30:42] --------
    [17:30:42] Loaded: samp.ban
    [17:30:42]
    [17:30:42]
    [17:30:42] Filterscripts
    [17:30:42] ---------------
    [17:30:42] Loading filterscript 'wbb_connect.amx'...
    [17:30:42]
    === WBB_Connect: ===
    WBB_Connect v. 2.0
    was successfully loaded!


    Copyright (c) by Hauke Marquardt
    ====================


    [17:30:42] Loaded 1 filterscripts.


    [17:30:42] Error: Function not registered: 'SSCANF_Init'
    [17:30:42] Error: Function not registered: 'SSCANF_Join'
    [17:30:42] Error: Function not registered: 'SSCANF_Leave'
    [17:30:42] Error: Function not registered: 'sscanf'
    [17:30:42]
    ----------------------------------
    [17:30:42] German RealLife
    [17:30:42] ----------------------------------


    [17:30:42] Number of vehicle models: 0
    [17:30:42]
    === WBB_Connect: ===
    WBB_Connect v. 2.0 successfully initialized
    ====================


    [17:30:42] WBB_Connect: Initialisierung erfolgreich!



  • do.de - Domain-Offensive - Domains für alle und zu super Preisen