Beiträge von Electro

    Hey,


    Hab ein Warning beim Compilen



    Zeile (224) : Variable wird nie benutzt: "ret_memcpy"


    0 Errors, 1 Warnungen
    Kompilierung erfolgreich


    PWNMod Compiler Version 1.2
    (c) Trooper[Y]
    In Kooperation mit GTA-Servers.de




    MFG

    Hey,


    Hab in meinem Script ein Error:


    C:\Users\Electro\Desktop\ga1mes\GAL\gamemodes\GAL.pwn(2954) : error 055: start of function body without function header




    Zeile:



    {
    print("_______________________________________");
    print("German Action Life by reallife-gal.cwsurf.de!");
    print("_______________________________________");
    print(" ");
    }

    Hey,


    Mein Script ladet nich nichtig:




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


    SA-MP Dedicated Server
    ----------------------
    v0.3c, (C)2005-2010 SA-MP Team


    [23:00:52]
    [23:00:52] Server Plugins
    [23:00:52] --------------
    [23:00:52] Loading plugin: sscanf
    [23:00:52]


    [23:00:52] ===============================


    [23:00:52] sscanf plugin loaded.


    [23:00:52] (c) 2009 Alex "Y_Less" Cole


    [23:00:52] ===============================


    [23:00:52] Loaded.
    [23:00:52] Loading plugin: streamer
    [23:00:52]


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


    [23:00:52] Loaded.
    [23:00:52] Loading plugin: audio
    [23:00:52]


    *** Audio Plugin v0.4 by Incognito loaded ***



    [23:00:52] Loaded.
    [23:00:52] Loaded 3 plugins.


    [23:00:52]
    [23:00:52] Ban list
    [23:00:52] --------
    [23:00:52] Loaded: samp.ban
    [23:00:52]
    [23:00:52]
    [23:00:52] Filter Scripts
    [23:00:52] ---------------
    [23:00:52] Loading filter script 'fireworks.amx'...
    [23:00:52] Unable to load filter script 'fireworks.amx'.
    [23:00:52] Loaded 0 filter scripts.


    [23:00:52] Script[gamemodes/GAL.amx]: Run time error 19: "File or function is not found"
    [23:00:52] Number of vehicle models: 0




    MFG

    stock GetPlayerBanTime(playername[],&minu=0,&seco=0)
    {
    format(tbDir,sizeof(tbDir),foxBanFile,playername);
    if(dini_Exists(tbDir))
    {
    seco=(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDuration"))-Time();
    seco=seco-minu*60;
    minu=seco/60;
    return 1;
    }
    return 0;
    }

    Hey,


    Mein tban buggt,
    wenn ich jemanden ein timeban gebe
    kann er sich wieder einloggen -.-





    dcmd_tban(playerid,params[])
    {
    new pID,pIdName[MAX_PLAYER_NAME],pName[MAX_PLAYER_NAME],banTime,reason[64],string[128];
    if(PlayerInfo[playerid][pAdmin] <= 1) { return 1; }
    if(sscanf(params,"uds",pID,banTime,reason)) { return SendClientMessage(playerid,COLOR_GRAD1,"Benutzung: /tban [Spieler / ID] [Zeit in Minuten] [Grund]"); }
    if(!IsPlayerConnected(pID)) { return SendClientMessage(playerid,COLOR_GRAD1,"Falsche ID!"); }
    if(banTime < 15) { return SendClientMessage(playerid,COLOR_GRAD1,"Minimale Zeit: 30 Minuten"); }
    GetPlayerName(pID,pIdName,sizeof(pIdName));
    GetPlayerName(playerid,pName,sizeof(pName));
    format(string,sizeof(string),"AdminSystem: %s wurde von %s für %d Minuten gebannt, Grund: %s",pIdName,pName,banTime,reason);
    SendClientMessageToAll(COLOR_LIGHTRED,string);
    printf("AdminSystem(TIMEBAN): Admin: %s(%i) - Timebanned Player: %s(%i) - Timeban Reason: %s",pName,playerid,pIdName,pID,reason);
    pBanner[pID] = pName;
    TBan(pID,banTime);
    return 1;
    }