Destroyer.- Posted June 11, 2016 Share Posted June 11, 2016 Hola tengo una duda con las tablas es que, estoy haciendo un vehicle system y me quede trabado en donde tengo que mandar los datos de la tabla (que estan en el client) al server vehiculosAG = { {"Bugatti Chiron", 558,"$1.000.000",1000000}, {"Infernus", 411,"$200.000",200000}, {"Audi R8", 429,"$500.000",500000}, {"Turismo", 451, "$150.000", 150000}, {"Cheetah", 415, "$140.000",140000}, {"ZR-350", 477, "$150.000",150000}, {"Hotring Racer ", 494, "$175.000",175000}, {"Super-GT", 506, "$140.000",140000}, {"Bullet", 541, "$150.000",150000}, {"Jester", 559, "$180.000",180000}, {"Elegy", 562, "$170.000",170000}, {"Flash", 565, "$110.000",110000}, {"Phoenix", 603, "$160.000",160000}, } --El for es este for i, veh in ipairs(vehiculosAG) do No se me ocurre como mandar los datos al server, donde veh[2] es la id del auto y veh[4] es lo que sale, gracias Link to comment
Castillo Posted June 11, 2016 Share Posted June 11, 2016 Podes mandar la tabla directamente, y en el lado del servidor haces el loop. Link to comment
Recommended Posts