Jump to content
  • 0

Dialog + valoarea inputtext


Question

Posted

Salut

Imi puteti da si mie un exemplu cum fac dialog in care sa ceara de ex numele clanului intro comanda apoi sa inserez in clan name valoarea inputtext apoi sa arate asta:

[pawn]format(strg,sizeof(strg),"Welcome %s\n\n{E60000}========{FFFF00}========{00FF00}========\n{FFFFFF}Please enter the clan name\n{E60000}========{FFFF00}========{00FF00}========:", Name(playerid));

        ShowPlayerDialog(playerid, DIALOGID_CLANCREATE1, DIALOG_STYLE_INPUT, "Clan Name", strg, "Next", "Cancel"); [/pawn]

2 answers to this question

Recommended Posts

Posted

Nu am inteles nimic din ce ai spus.

CMD:createclan( playerid, params[ ] )
{
format(strg,sizeof(strg),"Welcome %s\n\n{E60000}========{FFFF00}========{00FF00}========\n{FFFFFF}Please enter the clan name\n{E60000}========{FFFF00}========{00FF00}========:", Name(playerid));
        ShowPlayerDialog(playerid, DIALOGID_CLANCREATE1, DIALOG_STYLE_INPUT, "Clan Name", strg, "Next", "Cancel"); 
return 1;
}

Degeaba iti spun ca nu o sa reusesti sa faci /createclan cu SQLite ... 8-|... dar o sa vezi tu ;))

Fara reclama in semnatura!

Posted

Uite acum intelegi

Fa dialog in care sa ceara numele clanului, apoi insereaza in 'ClanName' valoarea inputtext, apoi sa arate asta:

Code: [select]

format(strg,sizeof(strg),"Welcome %s\n\n{E60000}========{FFFF00}========{00FF00}========\n{FFFFFF}Please enter the clan name\n{E60000}========{FFFF00}========{00FF00}========:", Name(playerid));

        ShowPlayerDialog(playerid, DIALOGID_CLANCREATE1, DIALOG_STYLE_INPUT, "Clan Name", strg, "Next", "Cancel");

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.