Jump to content

CreateClan System updated v3


Gireada

Recommended Posts

Este facut la cererea lui oLfacTiv.

Dupa cum spune titlul este un FileScript prin care iti poti creea un clan, si de a invita membri.

Update:

v3:

  • Adaugat Pick-up & 3DText la locul de spawn.
  • Adaugat comanda /cstat.
  • Adaugat comanda /csettings.
  • Dialogurile trecute pe sistemul clasic (OnDialogResponse).

Comenzi:

/createclan - creeaza clanul

/invita - inviti jucatori

/accepta - jucatorul accepta invitatia

/refuza - jucatorul refuza invitatia

/clanchat - vorbesti doar cu membrii clanului

/clist - vezi membrii clanului(cei online)

/claniesi - iesi din clan

/desclan - desfintezi clanul

/setrank - setezi rank-ul(doar fondatorul)

/setspawn - setezi spawn-ul(doar fondatorul)

/clanhelp - vezi comenzile sistemului

/csettings - modifci armele/skin-urile clanului

/cstat - informatii despre clan.

Poze:

samp026mu.png

[img width=500 height=400] samp024uo.png

[img width=500 height=400] samp025wn.png

[img width=500 height=400] samp028la.png

[img width=500 height=400] samp030nu.png

[img width=500 height=400] samp027au.png

[img width=500 height=400] samp032si.png

[img width=500 height=400] samp029bn.png

[img width=500 height=400] samp031bs.png

Poze v2:

[img width=500 height=400] samp105gb.png

[img width=500 height=400] samp106re.png

[img width=500 height=400] samp097tk.png

[img width=500 height=400] samp098d.png

[img width=500 height=400] samp104q.png

[img width=500 height=400] samp103uf.png

[img width=500 height=400] samp102du.png

[img width=500 height=400] samp101i.png

[img width=500 height=400] samp100brr.png

[img width=500 height=400] samp099nn.png

Poze v3:

[img width=500 height=400] samp120k.png

[img width=500 height=400] samp121p.png

[img width=500 height=400] samp118ur.png

Download:

v2[Terminat]

[download]http://pastebin.com/QGbFhtJ4[/download]

[download]http://www.solidfiles.com/d/0ff1455f07/[/download]

v3[Terminat]

[download]http://www.solidfiles.com/d/328b7d3f0c/[/download]

[download]http://pastebin.com/2CcQFEH2[/download]

Nu prea m-am ocupat de el, ca mai am si alte cereri de script.

Instructiuni:

Ca sa functioneze trebuie sa creeati 2 foldere in scriptfiles. Primul JucatoriClan, al doilea Clans.

Includerul pentru Bdial.inc

mSelection.inc

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

  • Replies 109
  • Created
  • Last Reply

Top Posters In This Topic

Foarte frumos si folositor.Multa lume cauta un astfel de sistem.

Puteai sa il faci mult mai bine, sa reduci linile.Exemplu:

[pawn]                SendClientMessage(playerid, 0xFF0000AA, "Scrie /refuza pentru al refuza");

            }

        }

    return 1;

}[/pawn]

Aceste linii puteau deveni:

[pawn]                SendClientMessage(playerid, 0xFF0000AA, "Scrie /refuza pentru al refuza"); } }

    return 1; }[/pawn]

Dar totusi, bravo.Prin urmare, nota mea este:

5/5

EDIT: Schimba sscanf cu sscanf2 sau vei primi erori la compilare.

Link to comment
Share on other sites

Edit: Este frumos systemul de createclan dar este plin de buguri ...

Lam testat si cand aleg armele la teleporteaza la /lv /sf ....

Si lam incercat pe alt server si spune ca ai deja un clan dar eu nici nu imi facusem clan ..

9_logo.png.5f8e54116db587dcaa7b391b8f5a6

Link to comment
Share on other sites

:sad: Ajutor....am rezolvat problema cu bdial.inc dar acum cand scriu /createclan imi apare sa pun numele si cand introdunc numele imi dispare totul :cry: ce sa fac?

Vezi sa nu ai lag s-au sa se incurce dialogurile cu cele din GM

Includerul pentru Bdial.inc

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

Frumos 5/5.

dar

CMD:createclan(playerid, params[])
{
        if(PlayerInfo[playerid][pCreateClan] == -1)
        {
        ShowPlayerDialog(playerid,10, DIALOG_STYLE_INPUT, "Create Clan", "Introdu numele clanului tau:", "Accept", "Cancel");
    }
    else
    {
        SendClientMessage(playerid, 0xFF0000AA, "Ai creeat deja un clan!");
    }
    return 1;
}
putea deveni
CMD:createclan(playerid,params[])
{
    if(PlayerInfo[playerid][pCreateClan] != 0) return  SendClientMessage(playerid, 0xFF0000AA, "Ai creeat deja un clan!");
     ShowPlayerDialog(playerid,10, DIALOG_STYLE_INPUT, "Create Clan", "Introdu numele clanului tau:", "Accept", "Cancel");
  return 1;

}

na asa era si gura mica :)

I'm back bitches.

Link to comment
Share on other sites

Frumos 5/5.

dar

CMD:createclan(playerid, params[])
{
        if(PlayerInfo[playerid][pCreateClan] == -1)
        {
        ShowPlayerDialog(playerid,10, DIALOG_STYLE_INPUT, "Create Clan", "Introdu numele clanului tau:", "Accept", "Cancel");
    }
    else
    {
        SendClientMessage(playerid, 0xFF0000AA, "Ai creeat deja un clan!");
    }
    return 1;
}
putea deveni
CMD:createclan(playerid,params[])
{
    if(PlayerInfo[playerid][pCreateClan] == -1) return  SendClientMessage(playerid, 0xFF0000AA, "Ai creeat deja un clan!");
     ShowPlayerDialog(playerid,10, DIALOG_STYLE_INPUT, "Create Clan", "Introdu numele clanului tau:", "Accept", "Cancel");
  return 1;

}

Gresit.Daca comanda acea devenea cum spui tu, jucatorul putea crea clanuri la infinit.Comanda putea devenii:

[pawn]CMD:createclan(playerid, params[]) {

    if(PlayerInfo[playerid][pCreateClan] == -1) {

        ShowPlayerDialog(playerid,10, DIALOG_STYLE_INPUT, "Create Clan", "Introdu numele clanului tau:", "Accept", "Cancel");

    } else {

        SendClientMessage(playerid, 0xFF0000AA, "Ai creeat deja un clan!"); }

    return 1; }[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.