26.11.2014, 19:23
Hello, i have a question about how i can load from mysql table to samp array.
I want to load the mysql stuff like this:
From this:
[img src="http://i.gyazo.com/8a818a61236d2a215fab6f0a34dfe296.png"][/img]
Does anyone know how to load that mysql table into an array in pawno?
Thank you in advance.
I want to load the mysql stuff like this:
Код:
new ALoads[][TLoad] = { {"Gravel", false, 1.00, PCV_TruckerOreTrailer, {11}, {1, 2, 3}}, // LoadID 1 {"Sand", false, 1.00, PCV_TruckerOreTrailer, {12}, {1, 2, 3, 4, 5}}, // LoadID 2 };
[img src="http://i.gyazo.com/8a818a61236d2a215fab6f0a34dfe296.png"][/img]
Does anyone know how to load that mysql table into an array in pawno?
Thank you in advance.