27/5000 Some Ideas for a Dialog
#1

hello, I decided to make an event for categories like the idea that I want to make a tip like an event and money text. The idea is that I do not have ideas how to make it good to convey the desired text and money.

picture with dialogue https://imgur.com/a/M0eAKef
Код HTML:
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: {

                }                                                                      
                   
            }
        }
Reply
#2

someone helps me
Reply
#3

Quote:

The idea is that I do not have ideas



What are you trying to do? I don't understand a single word of what you said.
Reply
#4

Quote:
Originally Posted by KinderClans
Посмотреть сообщение


What are you trying to do? I don't understand a single word of what you said.
I want to make an event system through dialogue, just that I want that message to appear
if (isnull (szSecondParam) || sscanf (szSecondParam, "p <> s [16] i", szDescription, szPrize)) return SendClientMessage (playerid, 0x5B88CCFF, "Usage: {E6E6DC} / event create [ ');

I do not know how to make him feel good
Reply
#5

Spune-mi in privat ce vrei exact sa faci si te ajut ca sa nu ocupam aici spatiu.
Reply
#6

Quote:
Originally Posted by Florin48
Посмотреть сообщение
Spune-mi in privat ce vrei exact sa faci si te ajut ca sa nu ocupam aici spatiu.
salut ,man vreau sa fac un system pe dialog cum este și оn imagine, dar atunci cвnd dau click pe dialog-ul create sa pot pune ce text vreau eu si bani și după sa оmi arate string-ul public
pss. ideia este ca nu am idei cum sal fac sunt la оnceput de drum și nu am toate cunoștințe necesare
Reply
#7

stie cineva rezolvarea?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)