Masz no:
d3d_transform_set_identity();
d3d_transform_add_rotation_z(direction);
d3d_transform_add_translation(x,y,wysokz);
var tex;
tex=background_get_texture(tanktex1);
d3d_draw_block(-10,-7,wysokz+6,10,7,wysokz+2,tex,1,1);
d3d_draw_block(-11,-8,0,11,8,0,cien,1,1);
tex=background_get_texture(tanktex3);
d3d_draw_block(-10,-6,wysokz+9,9,6,wysokz+6,tex,1,1);
d3d_draw_block(-6,-4,wysokz+13,3,4,wysokz+9,tanktex3,1,1);
d3d_draw_block(3,-1,wysokz+12,8,1,wysokz+11,tanktex4,1,1);
d3d_transform_set_identity();
Powinno działać.