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: {
}
}
}
|
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. |
|
Spune-mi in privat ce vrei exact sa faci si te ajut ca sa nu ocupam aici spatiu.
|