Getting correct IDS from a dialog
#3

Quote:
Originally Posted by raydx
Посмотреть сообщение
You are wrong, you can get the slot id by using sscanf on inputtext, but you have to show slot id in dialog window.

Example:

Код:
format(string, 32, "%d\t%s", vehicleid, veh_name);
ShowPlayerDialog...

OnDialogResponse:

sscanf(inputtext, "ds[32]", vehicleid, veh_name);
Well, didn't knew about that :3, thx, repped.
Reply


Messages In This Thread
Getting correct IDS from a dialog - by StrikerZ - 11.10.2017, 07:31
Re: Getting correct IDS from a dialog - by raydx - 11.10.2017, 07:48
Re: Getting correct IDS from a dialog - by StrikerZ - 11.10.2017, 08:20

Forum Jump:


Users browsing this thread: 1 Guest(s)