Strings in Dialogs
#5

Well, it depends what you would want the dialog to say. Like, if you wanted it to say:
pawn Код:
Colt 45 - 1
Cigarrete - 1
Cellphone - 0
// etc
Then maybe not. You could just format one string, and show in the dialog the returned value of the variable.
pawn Код:
format(string, sizeof(string), "Colt 45 - %d \n Cigarrete - %d \n Cellphone - %d \n Watch - %d \n Radio - %d", /*variables holding the players information here*/);
In the end, it depends on what you have the variables saving (0 and 1 or something else) and what you want to display.
Reply


Messages In This Thread
Strings in Dialogs - by TKZ227 - 11.07.2010, 03:03
Re: Strings in Dialogs - by Toni - 11.07.2010, 03:11
Re: Strings in Dialogs - by TKZ227 - 11.07.2010, 04:10
Re: Strings in Dialogs - by TKZ227 - 11.07.2010, 06:39
Re: Strings in Dialogs - by Grim_ - 11.07.2010, 08:10
Re: Strings in Dialogs - by Toni - 11.07.2010, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)