if you want to sys_malloc vertex_numbers:

var* vertex_numbers[0]; ---> var* vertex_numbers;

or if it is constant sized:

var* vertex_numbers[0]; ---> var vertex_numbers[10];


and I think you need memcopy to copy an array to another array.


Free world editor for 3D Gamestudio: MapBuilder Editor