06.05.2011, 17:47
Hi.
I was wondering if it was possible to make a dialog that has a changeable string
Nitro will show up only if you are in a vehicle otherwise the string would look like this
Is it possible to make this without making two dialogs?
Thanks
I was wondering if it was possible to make a dialog that has a changeable string
pawn Код:
new string[128];
format(string,sizeof(string),"Nitro\n Restore health\n Give Armor");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Somathing",string,"Ok","Cancle");
pawn Код:
format(string,sizeof(string),"Restore health\n Give Armor");
Thanks