21.11.2011, 15:14
I need help, i dont know what to search for so.
I have a dialog lets say like this:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tog", "Join Msgs - On \nGlobal Chat - Off", "Tog", "Cancel");
Joining msgs is a player variable that is 0 or 1 if enabled, same with global chat.
But is there a way to set the string in textdraw with 'on' or 'off' according to the joiningmsgs var?
So when i click on 'Join msgs' it will show the same dialog again but with 'Join Msgs - Off'.
I have a dialog lets say like this:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Tog", "Join Msgs - On \nGlobal Chat - Off", "Tog", "Cancel");
Joining msgs is a player variable that is 0 or 1 if enabled, same with global chat.
But is there a way to set the string in textdraw with 'on' or 'off' according to the joiningmsgs var?
So when i click on 'Join msgs' it will show the same dialog again but with 'Join Msgs - Off'.