How can I list all enum data in dialog box
#5

Quote:
Originally Posted by AmigaBlizzard
Посмотреть сообщение
You're adding your entered location to every index of your GPS array, overwriting every previously added location.
You have to find a free spot and only add it to that free spot, then abort the loop.
Also, why store the name first, then store it a second time using format at the exact same field of your enum?
PHP код:
GPS[i][loc_name] = name// Store once
GPS[i][loc_x] = x;
GPS[i][loc_y] = y;
GPS[i][loc_z] = z;
format(GPS[i][loc_name],512"%s"name); // Store again??? 
How i can find free spot?
Reply


Messages In This Thread
How can I list all enum data in dialog box - by akib - 03.09.2018, 01:35
Re: How can I list all enum data in dialog box - by iHollyZinhO - 03.09.2018, 01:48
Re: How can I list all enum data in dialog box - by akib - 04.09.2018, 11:11
Re: How can I list all enum data in dialog box - by AmigaBlizzard - 04.09.2018, 11:20
Re: How can I list all enum data in dialog box - by akib - 04.09.2018, 11:24
Re: How can I list all enum data in dialog box - by akib - 04.09.2018, 12:28

Forum Jump:


Users browsing this thread: 3 Guest(s)