Jump to content

Arme


IstuntmanI

Recommended Posts

[o]Nume script: [glow=red,2,300]Arme[/glow]

[o]Descriere:

      - Este un FS care permite jucatorului sa cumpere arme.

      - Se configureaza usor, in varful scriptului sunt define-uri cu ID-ul dialogului si cu mesajele de trimis.

[o]Poze:

- Dialog:

samp001pw.png

- Cand apesi Cancel:

samp004hot.png

- Cand nu ai suficienti bani:

samp002mq.png

- Cand cumperi o arma

samp003zj.png

[o]Credite:

    - Zh3r0 - I-am imprumutat putin din stilul de aranjare ca sa arate mai frumos scriptul.

    - stuntman - Scriptul.

[o]Download:

          - .pwn: http://solidfiles.com/d/88ca2/

          - Arhiva: http://solidfiles.com/d/ebb0/

PS: L-am facut mai de mult si azi (27 februarie 2011) am mai umblat prin el si l-am modificat 60%.

Link to comment
Share on other sites

  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

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

{

    new string[ 390 ];

    strcat(string, "{FFFFFF}AK-47 \t{FF9900}- {FF0000}12000{33AA33}$\n\

{FFFFFF}Sniper \t{FF9900}- {FF0000}5000{33AA33}$\n\

{FFFFFF}Tec9 \t{FF9900}- {FF0000}5900{33AA33}$\n\

{FFFFFF}9mm \t{FF9900}- {FF0000}3000{33AA33}$\n\

{FFFFFF}Silenced 9mm \t{FF9900}- {FF0000}5600{33AA33}$\n\

{FFFFFF}M4 \t{FF9900}- {FF0000}14000{33AA33}$\n\

{FFFFFF}SMG (MP5) \t{FF9900}- {FF0000}10000{33AA33}$\n\

{FFFFFF}Health + Armour \t{FF9900}- {FF0000}2500{33AA33}$", 390);

ShowPlayerDialog(playerid,DIALOG_ARME,DIALOG_STYLE_LIST,"{FFFFFF}Meniu arme: {000000}(by [sRC]stuntman)", string, "Buy", "Cancel");

return 1;

}

Nu prea aveai nevoie de strcat ca ai concatenat doar un string, good one =))

Link to comment
Share on other sites

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

{

    new string[ 390 ];

    strcat(string, "{FFFFFF}AK-47 \t{FF9900}- {FF0000}12000{33AA33}$\n\

{FFFFFF}Sniper \t{FF9900}- {FF0000}5000{33AA33}$\n\

{FFFFFF}Tec9 \t{FF9900}- {FF0000}5900{33AA33}$\n\

{FFFFFF}9mm \t{FF9900}- {FF0000}3000{33AA33}$\n\

{FFFFFF}Silenced 9mm \t{FF9900}- {FF0000}5600{33AA33}$\n\

{FFFFFF}M4 \t{FF9900}- {FF0000}14000{33AA33}$\n\

{FFFFFF}SMG (MP5) \t{FF9900}- {FF0000}10000{33AA33}$\n\

{FFFFFF}Health + Armour \t{FF9900}- {FF0000}2500{33AA33}$", 390);

ShowPlayerDialog(playerid,DIALOG_ARME,DIALOG_STYLE_LIST,"{FFFFFF}Meniu arme: {000000}(by [sRC]stuntman)", string, "Buy", "Cancel");

return 1;

}

Nu prea aveai nevoie de strcat ca ai concatenat doar un string, good one =))

Stiu, am facut asta intentionat, mi se pare ca arata mai bine :D

Ruben link=topic=9658.msg57707#msg57707 date=1298830092]

Fain..5/5 :P

Lucian link=topic=9658.msg57712#msg57712 date=1298831955]

super 5/5

Multumesc.
Link to comment
Share on other sites

  • 1 month later...

Ba omule, parerea mea e ca seamana foarte mult ca cel din gm-u de RSS=)) doar ca a-ti adaugat culori si alte mesaje...+ ca exact aceasi ordine au armele pe rss :o E asa mare coincidenta?  :rolleyes:

In fine, scriptu e fain. 5/5  :tongue:

Edit: Acuma o sa-mi sara in cap =)) dar iti trimit sa vezi... e leit.

Link to comment
Share on other sites

[move] :cry: :cry: :cry: :sad:[/move]

Ma eu sc /arme

Imi apare menu cu ce arme pot lua

dar cand dau pe o arma nu mio da

dc ??????

si am $$$$$$$$

Ai aceasi problema ca mn cu scriptu lui Yoshi (YosVehCtrl.pwn) =))

E de la dialogid...se confunda cu altu, trebuie modificat

Link to comment
Share on other sites

  • 2 months later...
Guest RockStar

Blend" post="81484" timestamp="1309523406"]

Ce mod de servar ai

Daca e RSS edit ai deja /arme

..

GZS - Green Zone Stuntage.

Stai linistit, nu cred ca foloseste stuntman saracia aia de edit...

Daca postezi, posteaza un comentariu inteligent cu un rost :))

ON: Super, dar banii trebuiau sa fie verzi..totusi merge si asa xD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.