Beiträge von #S.

    Man geht auf seinen Beitrag, und klickt auf bearbeiten.
    Sofern du die Option (obiger Beitrag) aktiviert hast, schreibst du nun in deinen Post das:


    Text
    <-- 1 zeile abstand (meine stammregel :3)
    //Edit: Edit!

    Daaaas weiß ich nicht. :D
    Zitat aus "Steam": [ENG]

    Spoiler anzeigen

    DayZ being developed as a standalone game: “this is the end of the beginning”

    Spoiler anzeigen
    “That’s right, this is actually happening,” reads a tweet from the official DayZ dev twitter feed. “DayZ will be developed as a standalone game.” A post on the DayZ site from Dean “Rocket” Hall announces that Bohemia Interactive are developing DayZ as a full game, and he’ll be heading up development as lead designer.

    Spoiler anzeigen
    “Development and updates of the mod will continue in parallel with the development of the game, so anyone who is playing the mod now will be able to continue to do so. The project will follow the Minecraft development model; fast iterations with the community alpha available for a heavily discounted price,” he explains.

    Spoiler anzeigen
    There’s a fresh official site for the standalone game over at DayZGame.com. The announcement follows news earlier today that the DayZ mod has more than one million unique players.


    lg :thumbup:

    Frag aber ob der den Score 3 oder höher hat.

    if(GetPlayerScore(playerid) <= 3)
    {
    // wenn ja
    }
    else
    {
    // wenn nein
    }


    lg :thumbup:

    CrimeStylzz
    Okay, dann setz ich mich mal an ein Handy Tutorial dranne. ;)
    Gedulde dich, könnte paar Stündchen dauern evtl..


    lg :thumbup:


    #E:
    Killas
    Besitzt du sscanf?

    if(!IsPlayerInRangeOfPoint(playerid,10.0,1621.254883, -1861.278076, 15.249203))return SendClientMessage(playerid,COLOR_RED,"Du bist nicht am Tor!");

    Sofern nicht:

    if(strcmp(cmd,"/lcntor",true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10.0,1621.254883, -1861.278076, 15.249203))
    {
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    if(lcntorvar == 0)
    {


    MoveObject(lcntor,1621.254883, -1861.278076, 5.249203,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 1;
    }
    else
    {
    MoveObject(lcntor,1621.254883, -1861.278076, 15.249203 ,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 0;
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
    return 1;
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED," Du bist nicht in der nähe des LCN Tores.");
    return 1;
    }
    return 1;
    }


    lg :thumbup:


    if(strcmp(cmd,"/lcntor",true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10.0,1621.254883, -1861.278076, 15.249203))
    {
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    if(lcntorvar == 0)
    {


    MoveObject(lcntor,1621.254883, -1861.278076, 5.249203,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 1;
    }
    else
    {
    MoveObject(lcntor,1621.254883, -1861.278076, 15.249203 ,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 0;
    }
    }
    else // Ebenfalls habe ich diese Else Struktur anders strukturiert.
    {
    SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
    return 1;
    }
    }
    return 1; // Dieser return hier am Ende. :)
    }


    lg :thumbup:

    Killas
    Bitte schön. ;)

    Spoiler anzeigen


    if(strcmp(cmd,"/lcntor",true) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10.0,1621.254883, -1861.278076, 15.249203))
    {
    if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
    {
    if(lcntorvar == 0)
    {

    Spoiler anzeigen
    MoveObject(lcntor,1621.254883, -1861.278076, 5.249203,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 1;
    }
    else
    {
    MoveObject(lcntor,1621.254883, -1861.278076, 15.249203 ,3.0);
    PlaySoundForPlayer(playerid,1035);
    SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
    lcntorvar = 0;
    }
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
    return 1;
    }
    }
    return 1;
    }


    lg :thumbup:


    CrimeStylzz
    MrMonat hat ein Tutorial für das Admin System gemacht. Handy System ist sehr einfach. ;)


    lg :thumbup:


    case 0:
    {
    // Hier sagst du was das 1ste aufgelistete Item aus dem Dialog machen soll. (Beispiel 1 an)
    }
    case 1:
    {
    // Hier sagst du nun was das 2te aufgelistete Item aus dem Dialog machen soll. (Beispiel 2 aus)
    }
    /*case 2: usw...*/

    Ich klammere mir hinter dem case immer was ein was das Case macht.
    Bspl: (Optional natürlich nur)

    case 0: /*Macht dies und das*/

    Viel Spaß beim weiter scripten. ;)


    lg :thumbup:

    Dann machste es so:

    ShowPlayerDialog(playerid, DIALOG_Beispiel, DIALOG_STYLE_LIST, "Beispiel", "Beispiel 1 aus\nBeispiel 2 an\nBeispiel 3 aus", "machen", "Abbrechen");
    // OnDia
    if(dialogid == DIALOG_Beispiel)
    {
    switch(listitem)
    {
    case 0:
    {
    // beispiel 1 anmachen
    }
    }
    }


    lg :thumbup: