Jump to content
  • 0

Niste idei pentru un Dialog



salut, am decis sa fac un dialog pentru event gen categorii  ideia ca vreau sa fac un string un text tip event si bani $ ideia este ca nu îmi vin idei cum sa fac sa fie bine  sa pot sa transmit textul dorit si bani .

poza cu dialogul https://imgur.com/a/M0eAKef

case DIALOG_Event: {
            if(!response) return 1;
            switch(listitem) {
                case 0: {
                    new szDescription[1050], szSecondParam[1050];
                    if (Event_Prize)  return SendClientMessage(playerid, COLOR_DARKGRAY, "There is already an event on going.");
                    new  szPrize;
                    if (isnull(szSecondParam) || sscanf(szSecondParam, "p< >s[16]i", szDescription, szPrize))  return SendClientMessage(playerid, 0x5B88CCFF, "Usage: {E6E6DC}/event create [description] [prize]");
                    if (szPrize < 5000 || szPrize > 1000000) return SendClientMessage(playerid, COLOR_DARKGRAY, "The prize can't be lower than $5,000 or higher than $1,000,000.");
                    SendEventMessage(0xA2E261FF, sprintf("[EVENT]: Admin %s created an event. Description: %s, Reward: $%s. Type /joinevent to join it !", GetName(playerid), szDescription, FormatNumber(szPrize)));
                    ShowPlayerDialog(playerid, DIALOG_Event, DIALOG_STYLE_TABLIST_HEADERS, "FiveGame Event", szSecondParam, "Select", "Exit"); 

                case 1: {

                case 2: {



Edited by Geani

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

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

Answer this question...

×   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.

  • 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.