21.11.2011, 12:28
(
Last edited by Richie; 21/11/2011 at 05:17 PM.
)
I need some help with string in a dialog, i dont really know what to search for so i ask here 
I want a dialog with different text, depending if a variable is true or false.
Like: ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tog", "Join Msgs - On \nGlobal Chat - Off", "Tog", "Cancel");
When user clicks Tog join msgs the text will show "Join Msgs - Off" and the var joinmsgs[playerid] will be false.
How to create that?
Edit: Got it, if anyone else needs this, its in scripting discussion.

I want a dialog with different text, depending if a variable is true or false.
Like: ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tog", "Join Msgs - On \nGlobal Chat - Off", "Tog", "Cancel");
When user clicks Tog join msgs the text will show "Join Msgs - Off" and the var joinmsgs[playerid] will be false.
How to create that?
Edit: Got it, if anyone else needs this, its in scripting discussion.