Beiträge von [RuS]Mixery

    habs so Schonlänger aber man kann ganze zeit wieder betreten
    if(strcmp("/Dm1", cmdtext, true) == 0)
    {
    new dm1[MAX_PLAYERS]=0;
    if(dm1[playerid] == 0)
    {
    //new rand;
    //rand = random(sizeof(Zufallsspawns));
    //SetPlayerPos(playerid, Zufallsspawns[rand][0], Zufallsspawns[rand][1], Zufallsspawns[rand][2]);
    new name[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat die Arena /Dm1 Betreten.",name);
    SendClientMessageToAll(0xFF4800FF, string);
    SendClientMessage(playerid, COLOR_RED, "Du kannst die Arena mit /exit verlassen.");
    SetPlayerArmour(playerid, 100);
    SetPlayerInterior(playerid, 1);
    SetPlayerPos(playerid, 2171.1296,1619.0787,999.9766);
    SetPlayerHealth(playerid, 100);
    GivePlayerWeapon(playerid, 24, 99999);
    GivePlayerWeapon(playerid, 29, 99999);
    GivePlayerWeapon(playerid, 31, 99999);
    GivePlayerWeapon(playerid, 25, 99999);
    return 1;
    }
    else if(dm1[playerid] == 1)
    {
    SendClientMessage(playerid, COLOR_RED,"Du bist bereits in einer Arena, Benutze /exit.");
    return 1;
    }
    return 1;
    }

    Wie mach ich damit ich /dm nutzen kann wen ich nur in keiner arena bin?

    if(strcmp("/Dm1", cmdtext, true) == 0)
    {
    new dm1[MAX_PLAYERS]=0;
    dm1[playerid]=1;
    {
    //new rand;
    //rand = random(sizeof(Zufallsspawns));
    //SetPlayerPos(playerid, Zufallsspawns[rand][0], Zufallsspawns[rand][1], Zufallsspawns[rand][2]);
    new name[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat die Arena /Dm1 Betreten.",name);
    SendClientMessageToAll(0xFF4800FF, string);
    SendClientMessage(playerid, COLOR_RED, "Du kannst die Arena mit /exit verlassen.");
    SetPlayerArmour(playerid, 100);
    SetPlayerInterior(playerid, 1);
    SetPlayerPos(playerid, 2171.1296,1619.0787,999.9766);
    SetPlayerHealth(playerid, 100);
    GivePlayerWeapon(playerid, 24, 99999);
    GivePlayerWeapon(playerid, 29, 99999);
    GivePlayerWeapon(playerid, 31, 99999);
    GivePlayerWeapon(playerid, 25, 99999);
    }
    dm1[playerid]=0;
    {
    SendClientMessage(playerid, COLOR_RED,"Du bist bereits in einer Arena, Benutze /exit.");
    return 1;
    }
    }
    if(strcmp("/exit", cmdtext, true) == 0)
    {
    new dm1[MAX_PLAYERS]=1;
    dm1[playerid]=1;
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 1310.3177,-1368.1515,13.5456);
    SendClientMessage(playerid, COLOR_RED, "Du hast die Arena Verlassen!");
    return 1;
    }

    Wie mach ich damit ich /dm nutzen kann wen ich in keiner arena bin?



    if(strcmp("/Dm1", cmdtext, true) == 0)
    {
    new dm1[MAX_PLAYERS]=0;
    dm1[playerid]=1;
    {
    //new rand;
    //rand = random(sizeof(Zufallsspawns));
    //SetPlayerPos(playerid, Zufallsspawns[rand][0], Zufallsspawns[rand][1], Zufallsspawns[rand][2]);
    new name[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s hat die Arena /Dm1 Betreten.",name);
    SendClientMessageToAll(0xFF4800FF, string);
    SendClientMessage(playerid, COLOR_RED, "Du kannst die Arena mit /exit verlassen.");
    SetPlayerArmour(playerid, 100);
    SetPlayerInterior(playerid, 1);
    SetPlayerPos(playerid, 2171.1296,1619.0787,999.9766);
    SetPlayerHealth(playerid, 100);
    GivePlayerWeapon(playerid, 24, 99999);
    GivePlayerWeapon(playerid, 29, 99999);
    GivePlayerWeapon(playerid, 31, 99999);
    GivePlayerWeapon(playerid, 25, 99999);
    }
    dm1[playerid]=0;
    {
    SendClientMessage(playerid, COLOR_RED,"Du bist bereits in einer Arena, Benutze /exit.");
    return 1;
    }
    //return 0;
    }
    if(strcmp("/exit", cmdtext, true) == 0)
    {
    new dm1[MAX_PLAYERS]=1;
    dm1[playerid]=1;
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 1310.3177,-1368.1515,13.5456);
    SendClientMessage(playerid, COLOR_RED, "Du hast die Arena Verlassen!");
    return 1;
    }

    Guten Abend Fische,
    Ich möchte mir auf meinem Stunt/Dm Server eine Arena Scripten,
    Also, Wen man /dm1 betretet und man dan stirbt soll man am Zufallsspawn spawnen ich hab bereits Zufallsspawn gescriptet aber man soll in der arena bleiben, und man kann die nur mit /exit verlassen,


    MfG


    PlayStatus