Beiträge von ENEF

    SRY war lange inaktiv und hab grAD versucht, keine errors aber auch ungetestet.
    hier der code
    ocmd:invite(playerid,params[])
    {
    new pID;
    new frakid;
    if(PlayerInfo[playerid][pLeader] <= 2)
    {
    if(sscanf(params, "u",pID))
    {
    return SendClientMessage(playerid,0xFFFFFFFF,"NUTZE: /invite [playerid]");
    }
    if(!IsPlayerConnected(pID)) {
    return SendClientMessage(playerid,0xFFFFFFFF,"Kein Spieler mit angegebener ID Online!");
    }
    if(frakid == 2) { PlayerInfo[pID][pFSkin] = 280; PlayerInfo[pID][pTeam] = 2; PlayerInfo[pID][pMember] = 2; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 1; } // LSPD
    else if(frakid == 3) { PlayerInfo[pID][pFSkin] = 286; PlayerInfo[pID][pTeam] = 3; PlayerInfo[pID][pMember] = 3; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 1; } // FBI
    else if(frakid == 4) { PlayerInfo[pID][pFSkin] = 274; PlayerInfo[pID][pTeam] = 4; PlayerInfo[pID][pMember] = 4; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 1; } // Sanitäter
    else if(frakid == 5) { PlayerInfo[pID][pFSkin] = 59; PlayerInfo[pID][pTeam] = 5; PlayerInfo[pID][pMember] = 5; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 0; } // Fahrlehrer
    else if(frakid == 6) { PlayerInfo[pID][pFSkin] = 294; PlayerInfo[pID][pTeam] = 6; PlayerInfo[pID][pMember] = 6; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 0; } // Hitman
    else if(frakid == 7) { PlayerInfo[pID][pFSkin] = 30; PlayerInfo[pID][pTeam] = 7; PlayerInfo[pID][pMember] = 7; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 0; } // Al Qaida
    else if(frakid == 8) { PlayerInfo[pID][pFSkin] = 30; PlayerInfo[pID][pTeam] = 8; PlayerInfo[pID][pMember] = 8; PlayerInfo[pID][pRank] = 1; SetPlayerSkin(pID, PlayerInfo[pID][pFSkin]); PlayerInfo[pID][pDuty] = 0; } // VorteX
    SendClientMessage(playerid,0xFFFFFFFF,"Du hast den Spieler invitet!");
    }
    return 1;
    }

    if(strcmp(cmd,"/balance",true) == 0)
    {
    tmp=strtok(cmdtext,idx);
    new playername[24];
    GetPlayerName(playerid,playername,sizeof(playername));
    new file[256];
    format(file,sizeof(file),"/bank/%s.ini",udb_encode(playername));
    if(!dini_Exists(file))
    {
    SendClientMessage(playerid,DarkGreen,"Du Besitz kein Bank Konto , Frag nach ein Bänker");
    return 1;
    }
    if(!BankLogged[playerid])
    {
    SendClientMessage(playerid,DarkGreen,"Du bist in Kein Bank Acc eingelogt! Nutze /banklogin [password]");
    return 1;
    }
    new balance=dini_Int(file,"balance");
    format(file,sizeof(file),"Bank Startus : $%d",balance);
    SendClientMessage(playerid,DarkGreen,file);
    return 1;
    }
    if(strcmp(cmd,"/bankregister",true)==0)
    {
    new file[256];
    new playername[24];
    // if(PlayerInfo[playerid][pJob]==Bänker ||PlayerInfo[playerid][pJob2]==Bänker ||PlayerInfo[playerid][pJob3]==Bänker ||PlayerInfo[playerid][pJob4]==Bänker ||PlayerInfo[playerid][pJob5]==Bänker)
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"Nutze: /bankregister [password]");
    return 1;
    }
    GetPlayerName(playerid,playername,sizeof(playername));
    format(file,sizeof(file),"/bank/%s.ini",udb_encode(playername));
    if(dini_Exists(file))
    {
    SendClientMessage(playerid,DarkGreen,"Die Bank Name/id ist beraits Vorhanden Bitte nemme ein anderenen");
    return 1;
    }
    dini_Create(file);
    dini_IntSet(file,"password",udb_hash(tmp));
    dini_IntSet(file,"balance",-100);
    BankLogged[playerid]=false;
    SendClientMessage(playerid,DarkGreen,"Das Bank Konto Wurde Erfolgreich erstellt");
    return 1;
    }
    if(strcmp(cmd,"/banklogin",true)==0)
    {
    new playername[24];
    new file[256];
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"USAGE : /banklogin [password]");
    return 1;
    }
    GetPlayerName(playerid,playername,sizeof(playername));
    format(file,sizeof(file),"/bank/%s.ini",udb_encode(playername));
    if(!dini_Exists(file))
    {
    SendClientMessage(playerid,DarkGreen,"Du hast kein Bank Konto , Frag nach einen Bänker Nach");
    return 1;
    }
    if(BankLogged[playerid])
    {
    SendClientMessage(playerid,DarkGreen,"Du bist bereits in ein Bank Konto eingellogt");
    return 1;
    }
    dini_IntSet(file,"password",udb_hash(tmp));
    if(udb_hash(tmp))
    {
    BankLogged[playerid]=true;
    SendClientMessage(playerid,DarkGreen,"Du bist Erfolgreich eingelogt!");
    return 1;
    }
    else
    {
    SendClientMessage(playerid,DarkGreen,"Falsches Password!");
    return 1;
    }
    }
    if(strcmp(cmd,"/deposit",true)==0)
    {
    new playername[24];
    new file[256];
    new amount;
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"Nutze : /deposit [amount]");
    return 1;
    }
    amount=strval(tmp);
    GetPlayerName(playerid,playername,sizeof(playername));
    format(file,sizeof(file),"/bank/%s.ini",udb_encode(playername));
    if(!dini_Exists(file))
    {
    SendClientMessage(playerid,DarkGreen,"Du hast Kein Bank Konto , Frag nache einen Bänker");
    return 1;
    }
    if(!BankLogged[playerid])
    {
    SendClientMessage(playerid,DarkGreen,"Du bist in Kein Bank Konto eingellogt,Nutze: /banklogin [password]");
    return 1;
    }
    if(GetPlayerMoney(playerid) < amount || amount <= 0)
    {
    SendClientMessage(playerid,DarkGreen,"Falsche Betrag");
    return 1;
    }
    GivePlayerMoney(playerid,-amount);
    new famount=dini_Int(file,"balance");
    dini_IntSet(file,"balance",famount+amount);
    format(file,sizeof(file),"Du Überweist $%d auf dein Bank Konto!",amount);
    SendClientMessage(playerid,DarkGreen,file);
    return 1;
    }
    if(strcmp(cmd,"/withdraw",true)==0)
    {
    new playername[24];
    new file[256];
    new amount;
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"USAGE : /withdraw [amount]");
    return 1;
    }
    amount=strval(tmp);
    GetPlayerName(playerid,playername,sizeof(playername));
    format(file,sizeof(file),"/bank/%s.ini",udb_encode(playername));
    if(!dini_Exists(file))
    {
    SendClientMessage(playerid,DarkGreen,"Du hast Kein Bank Konto , Frag nache einen Bänker");
    return 1;
    }
    if(!BankLogged[playerid])
    {
    SendClientMessage(playerid,DarkGreen,"Du bist in Kein Bank Konto eingellogt,Nutze: /banklogin [password]");
    return 1;
    }
    new balance=dini_Int(file,"balance");
    if(balance < amount || amount <= 0)
    {
    SendClientMessage(playerid,DarkGreen,"Falscher Betrag!");
    return 1;
    }
    GivePlayerMoney(playerid,amount);
    dini_IntSet(file,"balance",balance-amount);
    format(file,sizeof(file),"Du hast dir $%d von dein Konto abgebucht und bekommst es bar!",amount);
    SendClientMessage(playerid,DarkGreen,file);
    return 1;
    }
    if(strcmp(cmd,"/transfer",true)==0)
    {
    new playername[24];
    new file[256];
    new amount;
    new victimid;
    new victimname[24];
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"Nutze : /transfer [playerid] [amount]");
    return 1;
    }
    victimid=strval(tmp);
    if(!strlen(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"Nutze : /transfer [playerid] [amount]");
    return 1;
    }
    if(!IsPlayerConnected(victimid) || playerid == victimid)
    {
    SendClientMessage(playerid,DarkGreen,"Ungültige Playerid!");
    return 1;
    }
    amount=strval(tmp);
    GetPlayerName(playerid,playername,sizeof(playername));
    format(file,sizeof(file),"/bank/%s.ini",udb_encode(playername));
    GetPlayerName(victimid,victimname,sizeof(victimname));
    format(tmp,sizeof(tmp),"/bank/%s.ini",udb_encode(victimname));
    if(!dini_Exists(file))
    {
    SendClientMessage(playerid,DarkGreen,"Du hast kein Bank Konto , frag nach ein Bänker Nach");
    return 1;
    }
    if(!dini_Exists(tmp))
    {
    SendClientMessage(playerid,DarkGreen,"Die Spiele besitz kein Bank Konto!");
    return 1;
    }
    if(!BankLogged[playerid])
    {
    SendClientMessage(playerid,DarkGreen,"Du bist in kein bank Konto eingellogt! Nutze /banklogin [password]");
    return 1;
    }
    new pbalance=dini_Int(file,"balance");
    new vbalance=dini_Int(tmp,"balance");
    if(pbalance < amount || amount <= 0)
    {
    SendClientMessage(playerid,DarkGreen,"Falscher Betrag!");
    return 1;
    }
    dini_IntSet(file,"balance",pbalance-amount);
    dini_IntSet(tmp,"balance",vbalance+amount);
    format(file,sizeof(file),"Du überweist erfolgreich %d zu %s's Bank Konto!",amount,victimname);
    SendClientMessage(playerid,DarkGreen,file);
    format(file,sizeof(file),"%s hat dir %d auf dein Bank Konto überwisen!",playername,amount);
    SendClientMessage(victimid,DarkGreen,file);
    return 1;

    Hey =)
    da jeder einen Showroom hat wollte ich auch mal einen.
    Hier mal ein Paar werke.


    Signaturen:
    #1
    #2
    #3
    #4
    #5


    Webdesign:(ALPHA)
    #1


    Ich werde laufend Signaturen ähnliches machen.
    Feedback ;)

    Machs doch so das wen er ne deagle hat, die so wie bei den cops ist.
    würde gut sein
    wen du es noch sauberer machst also in den nächsten versionen wirds bald die 10/10
    bisjetzt 8/10

    if(pickupid == Repairpickup1)
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
    }
    else
    {
    SendClientMessage(playerid,rot,"Du bist in keinem Fahrzeug.");
    }
    }
    return 1;
    }
    HIer

    Heyho leute.
    Habe mich ma an ein GTA Design für WBB Lite gesetzt.
    Bisjetzt ist es ungecodet..
    Wer es Coden will muss sich bei mir in ICQ Melden(353020202)..
    Hier mal Das design.


    Feedback
    Lg

    Hallo, könnte mir Jemand diese frage beantworten.
    Wie muss ich das Webdesign anfangen bzw wie muss ich diese Threads designen ?
    Bzw Die Kategorien designen.
    Kann jemand mal ein Bild posten wie das aufgebaut sein muss.
    Zb wie es ungecoodet war.
    Wäre nett..
    Danke

    Ich kenne ihn auch.
    Und ich denke er ist zu so etwas fähig.
    Er wurde schon auf einem Sa-Mp Server wegen Beleidigung gebannt.
    Ich glaub ihm nicht!


    Lg PhotoFoX aka PaintBoy