Jump to content
  • 0

Probleme la o comanda :|


onix09

Question

Deci am incercat sa fac un Dialog cu comanda /cmds dar numi iese :| imi da Don't Send :( de ce??? Iata si comanda :|

    if(strcmp(cmdtext, "/cmds", true) == 0)
    {
    ShowPlayerDialog(playerid,c,DIALOG_STYLE_MSGBOX,"{00C0FF}Comenzi","\n{F81414}/v {0049FF}- {FFFFFF}Foloseste comanda {F81414}/v {FFFFFF}pentru ati alege masina preferata\n\
	\n{F81414}/arme {0049FF}- {FFFFFF}Foloseste comanda {F81414}/arme {FFFFFF}pentru a cumpara arme de aparare!\n\
	\n{F81414}/CreateClan {0049FF}- {FFFFFF}Foloseste comanda {F81414}/CreateClan {FFFFFF}pentru a iti creia propiul clan\n\
	\n{F81414}/teles {0049FF}- {FFFFFF}Foloseste comanda {F81414}/teles {FFFFFF}pentru a vedea teleporturile disponibile!\n\
	\n\n\
	\n\n\
	\n{FFAF00}Alte Comenzi:\n\
	\n{FFFFFF}/int /barme /arme /createclan /anims /zi /noapte /styles\n\
	\n{FFFFFF}/givecash /sex /lock /unlock /skin /nrg /gps [id/off] /vup\n\
	\n{FFFFFF}/lottohelp /afk /brb /back /neonshop /vcontrol /happy\n\
	\n{FFFFFF}/credits /dance /piss /teles /web /tigara /smoke /ranks\n\
	\n{FFFFFF}/vin /cola /beer /beeroff /vinoff /para /sad /tune /ad\n\
	\n{FFFFFF}/sarme /case /up /rampon /rampoff /ramphelp /hold\n\
	\n{FFFFFF}/ochelari /mask /register /login /changepass\n\
	{FFFFFF}Cand esti intr-un vehicul {F3FF02}Apas {F81414}2 {FFFFFF}pentru a repara masina si {F81414}click {FFFFFF}pentr a pune nitro!","OK","Cancel");
    return 1;
    }

La mine e incorporata in GM :| si am inteles k la niste #define sunt niste dialoguri duap exmeplul asta:

#define c 45

Deci va rog facetimi si mie comanda :((

9zZndmN.png
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

Prea mare stringul ... faci asa:

if(strcmp(cmdtext, "/cmds", true) == 0)
    {
    new string[1500],string1[300],string2[300].........etc;
    format(string1,300,"primele 5 randuri");
    format(string2,300,"%s urmatoarele 5 randuri",string1);
    ..........
    format(string,1500,"%s",ultimul_string[300]);
    ShowPlayerDialog(playerid,c,DIALOG_STYLE_MSGBOX,string);
    return 1;
    }

Link to comment
Share on other sites

AngeL=-" post="54264" timestamp="1297333441"]

Help | PS: a trecut o zi nu e doubl post :P

Ti-a dat model StuntMan. N-ai facut dublu post, dar triplu post ai facut.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

AngeL=-" post="54277" timestamp="1297336595"]

Mia dat model stuntman dar...nu sunt prea cine stie ce scripter :| sunt si eu pe aici un cos de gunoi :)) nu prea le am cu scriptul si incerc va rog sa imi faca si mie cnv asa un /cmds :o3

Pai, daca nu le ai cu scriptul, de ce nu pui mana si te chinuiesti tu sa`l faci ? Ai primit model, sunt sigur ca daca dai google search la 'sa mp pawno dialogue tutorials' vei gasi sute de tutoriale, care te vor indruma ...

ps: Uite

Link to comment
Share on other sites

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