Jump to content

mitza505

Membru
  • Posts

    107
  • Joined

  • Last visited

    Never

Posts posted by mitza505

  1. unde trebuie sa bag aceasta comanda in FS??

    [pawn]if(strcmp(cmd, "/joaca", true) == 0)

    {

        Ball = CreateObject(2114, 2782.3027,-2019.0826,13.5547-0.8, 0, 0, 96);

        GetPlayerName(playerid, sendername, sizeof(sendername));

        if(IsPlayerConnected(playerid))

        {

        if(basketDuty == 0)

        {

          format(string, sizeof(string), "Meciu de Basket a inceput! ", sendername);

          SendClientMessageToAll(0xFF7171FF, string);

          format(string, sizeof(string), " %s vs %s");

          SendClientMessageToAll(COLOR_GREEN, string);

          jucator1 = 0;

      jucator2 = 0;

      basketDuty = 1;

          for(new i = 0; i < MAX_PLAYERS; i++)

          {

              basketOn = 1;

          }

          SetTimer("stopbasket", 5000,0);

        }

        else

        {

        SendClientMessage(playerid, COLOR_GRAD1, " Basketul este pornit deja !");

        }

      }

      return 1;

    }[/pawn]

    daca o bag la onplayercommandtext orice comanda folosesc de exe /me imi da acceastsa comanda..

  2. deci se deschide o poarta numai ca nu se mai poreste adk am fct sa se miste in partea dreapta . numai ca : prima data sa deschis sa oprit unde trebuia dp a luato de nebuna in partea dreapta ..

    [pawn]new lift1;[/pawn]

    [pawn]lift1 = CreateObject(1569, 1558.3000488281, -1633.3000488281, 12.60000038147, 0, 0, 0);[/pawn]

    [pawn]if (newkeys==KEY_FIRE)

    {

    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)

    {

    if(IsPlayerConnected(playerid))

    {

    if(PlayerToPoint(5, playerid,1559.7493,-1632.8876,13.5593))

    {

    MoveObject(lift1, 1557.1999511719, -1633.3000488281, 12.60000038147, 4.0);

        SendClientMessage(playerid, COLOR_LIGHTRED, "**The door has opent for 5 second(s)**");

        SetTimer("lift1close",5000, false);

        return 1;

    }

    }

    }

    }[/pawn]

    [pawn]forward lift1close();

    public lift1close()

    {

    MoveObject(lift1, 558.3000488281, -1633.3000488281, 12.60000038147, 3.0);

    return 1;

    }[/pawn]

    si asta e cand e deschisa

    [pawn]CreateObject(1569, 1557.1999511719, -1633.3000488281, 12.60000038147, 0, 0, 0);[/pawn]

  3. Salut!

    am de ieri niste "prieteni" la care le ieste ciuda ca am mai multi playeri ca ei ,, si nsh cum face de isi da admin ... rcon e peste 30 litere & cifre , . - etc .. nsh ce sa ma fac , datimi un indiciu cv ce sa caut, please

  4. scz de 2xpost. da iara nu merge :|

        if(strcmp(cmdtext, "/enter", true) == 0)

        {

      {

    if(IsPlayerInRangeOfPoint(playerid, 2.0, 836.9717,-2048.9272,13.1674))

    {

      SetPlayerPos(playerid,963.418762,2108.292480,1011.030273);

      SetPlayerInterior(playerid,1);

      SendClientMessage(playerid,COLOR_RED,"*** Welcome to the Drugs Shop  !");

      return 1;

    }

    }

    }

    asta e comanda

  5. uite te ajut eu.. inlocuieste ce ai tu akl cu asta [pawn]public SearchingHit(playerid)

    {

    new string[256];

    new giveplayer[MAX_PLAYER_NAME];

    new searchhit = 0;

    for(new i = 0; i < GetMaxPlayers(); i++)

    {

    if(IsPlayerConnected(i))

    {

        if(searchhit == 0)

        {

        if(PlayerInfo[pHeadValue] > 0 && GotHit == 0 && PlayerInfo[pMember] != 8)

        {

            GetPlayerName(i, giveplayer, sizeof(giveplayer));

            searchhit = 1;

            hitfound = 1;

            hitid = i;

            for(new h = 0; h < GetMaxPlayers(); h++)

    {

    if(IsPlayerConnected(h))

    {

            if(PlayerInfo[h][pMember] == 8 || PlayerInfo[h][pLeader] == 8)

            {

                  SendClientMessage(h, COLOR_WHITE, "|__________________ Hitman News __________________|");

                    SendClientMessage(h, COLOR_DBLUE, "*** Incoming Message: A Hit has become available. ***");

                    format(string, sizeof(string), "Person: %s  ID: %d  Value: %d $", giveplayer, i, PlayerInfo[pHeadValue]);

    SendClientMessage(h, COLOR_DBLUE, string);

    SendClientMessage(h, COLOR_YELLOW, "Use Givehit Hitmanid, to assign the Contract to one of Hitmans.");

    SendClientMessage(h, COLOR_WHITE, "|________________________________________________________|");

          }

        }

    }

    return 0;

        }

    }

    }

    }

    if(searchhit == 0)

    {

        SendClientMessage(playerid, COLOR_YELLOW, "No Contracts available !");

    }

    return 0;

    }

    [/pawn]

  6. nu imi merge comanda enter :| ..

    [pawn] if(strcmp(cmdtext, "/enter", true) == 0)

        {

      {

    if PlayerToPoint(5,playerid,836.9717,-2048.9272,13.1674)

    *then

    {

      SetPlayerPos(playerid,346.870025,309.259033,999.155700);

      SetPlayerInterior(playerid,6);

      SendClientMessage(playerid,COLOR_RED,"*** Welcome to the Drugs Store  !");

      return 1;

    }

    }

    }[/pawn]

    [pawn]AddStaticPickup(1239,23,836.9717,-2048.9272,13.1674);[/pawn]

    pozitia [pawn]AddPlayerClass(288,836.9717,-2048.9272,13.1674,181.8275,0,0,0,0,0,0); // [/pawn]

    nu imi zice nimica doar ca nu intra in interior

  7. ma refeream cv de genu [pawn] if (strcmp("/etnobotanice", cmdtext, true, 10) == 0) {

            if(PlayerOnMission[playerid] > 0)

    if (strcmp("/etnobotanice", cmdtext, true, 10) == 0) {

            if(PlayerOnMission[playerid] > 0)

    {

    SendClientMessage(playerid, COLOR_GREY, " Nu poti folosi aceasta comanda avand Missiunea");

        return 1;

    }

        SetPlayerCheckpoint(playerid, 2459.4539,-1690.9188,13.5453, 3.0);

            SendClientMessage(playerid, COLOR_BLUELIGHTER, "Magazinul de Etnobotanice a fost plasat cu punctul rosu pe harta dumneavoastra.");

    r[/pawn]

    nu cum aiu fact tu!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.