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 .
case DIALOG_Event:{if(!response)return1;switch(listitem){case0:{new szDescription[1050], szSecondParam[1050];if(Event_Prize)returnSendClientMessage(playerid, COLOR_DARKGRAY,"There is already an event on going.");new szPrize;if(isnull(szSecondParam)|| sscanf(szSecondParam,"p< >s[16]i", szDescription, szPrize))returnSendClientMessage(playerid,0x5B88CCFF,"Usage: {E6E6DC}/event create [description] [prize]");if(szPrize <5000|| szPrize >1000000)returnSendClientMessage(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");}case1:{}case2:{}}}
Question
InceMan
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
Edited by GeaniFiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now