27/5000 Some Ideas for a Dialog -
Showerr - 24.07.2018
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: {
}
}
}
Re: 27/5000 Some Ideas for a Dialog -
Showerr - 25.07.2018
someone helps me
Re: 27/5000 Some Ideas for a Dialog -
KinderClans - 25.07.2018
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.
Re: 27/5000 Some Ideas for a Dialog -
Showerr - 25.07.2018
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
Re: 27/5000 Some Ideas for a Dialog -
Florin48 - 25.07.2018
Spune-mi in privat ce vrei exact sa faci si te ajut ca sa nu ocupam aici spatiu.
Re: 27/5000 Some Ideas for a Dialog -
Showerr - 25.07.2018
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
Re: 27/5000 Some Ideas for a Dialog -
Showerr - 25.07.2018
stie cineva rezolvarea?