Beiträge von Mezzomix

    also ich hab mich jetzt endbann es hatte geklappt aber er hatte keine level kein geld ??


    dcmd_unban(playerid, params[])
    {
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht eingeloggt.");
    if(PlayerInfo[playerid][pAdmin] <= 1999) return SendClientMessage(playerid, COLOR_WHITE, "Du bist kein Server-Owner/High-Admin.");
    new accname[MAX_PLAYER_NAME];
    if(sscanf(params, "s", accname)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /unban [EXAKTER Accountname]");
    new acc[MAX_PLAYER_NAME+20];
    format(acc,sizeof(acc),"Accounts/%s.ini",accname);
    if(!fexist(acc)) {
    format(stringx,sizeof(stringx)," Der Account %s existiert nicht!",accname);
    SendClientMessage(playerid,COLOR_GRAD2,stringx);
    return 1;
    }
    new File:banaccount = fopen(acc,io_write);
    fwrite(banaccount,"Gesperrt=0\n");
    fclose(banaccount);
    format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s entbannt!", MeinName(playerid), accname); ABroadCast(COLOR_LIGHTRED, stringx, 1);
    return 1;
    }

    Also ich habe mich auf mein server gebannt und habe mir ein neuen Account gemacht und dann habe ich mir admin gegeben und habe /unbann gemacht mein account name /unbann Sulo aber da steht diesen Account gibt es nicht obwohl es den gibs ?

    hi ich kann es ingame eingeben ich gebe ein name ein von mir der gebannt wurde aber da steht jetzt
    SendClientMessage(playerid,0xFF0000AA,"Diesen Befehl gibt es nicht!");


    dcmd(unban,5,cmdtext);
    dcmd_unban(playerid, params[])
    {
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht eingeloggt.");
    if(PlayerInfo[playerid][pAdmin] <= 1999) return SendClientMessage(playerid, COLOR_WHITE, "Du bist kein Server-Owner/High-Admin.");
    new accname[MAX_PLAYER_NAME];
    if(sscanf(params, "s", accname)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /unban [EXAKTER Accountname]");
    new acc[MAX_PLAYER_NAME+20];
    format(acc,sizeof(acc),"/scriptfiles/Accounts/%s.ini",accname);
    if(!fexist(acc)) {
    format(stringx,sizeof(stringx)," Der Account %s existiert nicht!",accname);
    SendClientMessage(playerid,COLOR_GRAD2,stringx);
    return 1;
    }
    new File:banaccount = fopen(acc,io_write);
    fwrite(banaccount,"Gesperrt=0\n");
    fclose(banaccount);
    format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s entbannt!", MeinName(playerid), accname); ABroadCast(COLOR_LIGHTRED, stringx, 1);
    SendClientMessage(playerid,0xFF0000AA,"Diesen Befehl gibt es nicht!");
    return 1;
    }

    //---------------------------<[ OnPlayerCommandText ]>-------------------------------------------------------- <mark>


    Function OnPlayerCommandText(playerid, cmdtext[])
    {
    M_OnPlayerCommandText(playerid,cmdtext);
    new string[256];
    new playermoney;
    new sendername[MAX_PLAYER_NAME];
    new giveplayer[MAX_PLAYER_NAME];
    new playername[MAX_PLAYER_NAME];
    new cmd[256];
    new tmp[256];
    new giveplayerid, moneys, idx;
    new dancestyle;
    cmd = strtok(cmdtext, idx);
    GetPlayerName(playerid,sendername,sizeof(sendername));
    // dcmd(ban,4,cmdtext);
    dcmd(unban,6,cmdtext);
    dcmd(kennzeichenerlauben,19,cmdtext);
    dcmd(kennzeichen,11,cmdtext);
    dcmd(sirene,6,cmdtext);
    // dcmd(licht,5,cmdtext);
    // dcmd(kofferraum,10,cmdtext);
    dcmd(farbe,5,cmdtext);
    dcmd(efa,3,cmdtext);
    dcmd(gocords,7,cmdtext);
    dcmd(zollcontrol,11,cmdtext);
    dcmd(sirene,6,cmdtext);
    dcmd(givedonator,11,cmdtext);
    //dcmd(unban,5,cmdtext);


    dcmd(arbobjid,8,cmdtext);
    dcmd(arb,3,cmdtext);
    dcmd(deletearb,9,cmdtext);
    dcmd(deletearbfor,12,cmdtext);
    dcmd(arball,6,cmdtext);
    dcmd(arbforall,9,cmdtext);
    dcmd(arbobj,6,cmdtext);
    if(strcmp(cmd, "/supmobil", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    if (PlayerInfo[playerid][pAdmin] >= 1||PlayerInfo[playerid][pSupporter] >= 1)
    {
    if(supmobil[playerid] != 0)
    {
    new engine,lights,alarm,doors,bonnet,boot,objective;
    GetVehicleParamsEx(supmobil[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(supmobil[playerid],VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
    DestroyVehicle(supmobil[playerid]);
    Delete3DTextLabel(suptext[playerid]);
    SendClientMessage(playerid, COLOR_GREY, "Fahrzeug vernichtet.");
    supmobil[playerid] = 0;
    }
    else
    {
    ShowPlayerDialog(playerid, DIALOG_SUPMOBIL, DIALOG_STYLE_LIST, "Fahrzeug Auswahl", "1. Comet\n2. Sultan\n3. Bus\n4. NRG\n5. Boot\n6. Heli\n7. Fahrzeug ID", "Auswahl", "Abbrechen");
    }
    }
    else return SendClientMessage(playerid, COLOR_GREY, "Du bist kein Admin.");
    }
    return 1;
    }

    Hallo Meine lieben leute also beim GNE script ist ein unbann befehle drin aber wenn ich es ingame eingabe steht da Server:Unkown Command hier der unbann befehle!


    dcmd_unban(playerid, params[])
    {
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht eingeloggt.");
    if(PlayerInfo[playerid][pAdmin] <= 1999) return SendClientMessage(playerid, COLOR_WHITE, "Du bist kein Server-Owner/High-Admin.");
    new accname[MAX_PLAYER_NAME];
    if(sscanf(params, "s", accname)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /unban [EXAKTER Accountname]");
    new acc[MAX_PLAYER_NAME+20];
    format(acc,sizeof(acc),"/scriptfiles/Accounts/%s.ini",accname);
    if(!fexist(acc)) {
    format(stringx,sizeof(stringx)," Der Account %s existiert nicht!",accname);
    SendClientMessage(playerid,COLOR_GRAD2,stringx);
    return 1;
    }
    new File:banaccount = fopen(acc,io_write);
    fwrite(banaccount,"Gesperrt=0\n");
    fclose(banaccount);
    format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s entbannt!", MeinName(playerid), accname); ABroadCast(COLOR_LIGHTRED, stringx, 1);
    return 1;
    }

    Hallo Liebes Breadfish also ich habe ein neue FBI base gescriptet aber wenn mann den spawn verlässt und dann wieder reingeht sehe ich das interior nicht?? hier ein screen ??
    else if (IsPlayerInRangeOfPoint(playerid,4.0,2337.2527,2459.3132,14.9742))//FBI /enter
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,2337.2527,2459.3132,14.9742);
    SetPlayerInterior(playerid,6);
    SetPlayerFacingAngle(playerid,2.5225);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die FBI Base betreten");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,246.7810,63.0454,1003.6406))//FBI /exit
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,2337.3362,2456.8940,14.9688);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,180.7990);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die FBI Base verlassen");
    }
    }

    Hallo Liebes Breadfish also ich habe eine problem also ich habe im GNE script ein unban befehle aber wenn ich es Ingame eingeben kommt ZITAT: Unkown Command ===?? HIER das befehl


    dcmd_unban(playerid, params[])
    {
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Du bist nicht eingeloggt.");
    if(PlayerInfo[playerid][pAdmin] <= 1999) return SendClientMessage(playerid, COLOR_WHITE, "Du bist kein Server-Owner/High-Admin.");
    new accname[MAX_PLAYER_NAME];
    if(sscanf(params, "s", accname)) return SendClientMessage(playerid, COLOR_WHITE, "Befehl: /unban [EXAKTER Accountname]");
    new acc[MAX_PLAYER_NAME+20];
    format(acc,sizeof(acc),"/Accounts/%s.ini",accname);
    if(!fexist(acc)) {
    format(stringx,sizeof(stringx)," Der Account %s existiert nicht!",accname);
    SendClientMessage(playerid,COLOR_GRAD2,stringx);
    return 1;
    }
    new File:banaccount = fopen(acc,io_write);
    fwrite(banaccount,"Gesperrt=0\n");
    fclose(banaccount);
    format(stringx, sizeof(stringx), "AdmCmd: Admin %s hat %s entbannt!", MeinName(playerid), accname); ABroadCast(COLOR_LIGHTRED, stringx, 1);
    return 1;
    }

    C:\Users\suleyman\Dropbox\SAMP SERVER DATEN PWN ECT\German Selfmade RealLife\gamemodes\GSR.pwn(217) : error 010: invalid function or declaration
    C:\Users\suleyman\Dropbox\SAMP SERVER DATEN PWN ECT\German Selfmade RealLife\gamemodes\GSR.pwn(219) : error 010: invalid function or declaration
    C:\Users\suleyman\Dropbox\SAMP SERVER DATEN PWN ECT\German Selfmade RealLife\gamemodes\GSR.pwn(222) : error 010: invalid function or declaration
    C:\Users\suleyman\Dropbox\SAMP SERVER DATEN PWN ECT\German Selfmade RealLife\gamemodes\GSR.pwn(225) : error 010: invalid function or declaration
    C:\Users\suleyman\Dropbox\SAMP SERVER DATEN PWN ECT\German Selfmade RealLife\gamemodes\GSR.pwn(234) : error 054: unmatched closing brace ("}")
    C:\Users\suleyman\Dropbox\SAMP SERVER DATEN PWN ECT\German Selfmade RealLife\gamemodes\GSR.pwn(235) : error 010: invalid function or declaration