24.07.2015, 15:28
It's used for creating gangzones upon OnGameModeInit();
But because they're not showing correctly I am asking here
But because they're not showing correctly I am asking here
Код:
enum coords { Float:minXx, Float:minYy, Float:maxXx, Float:maxYy } new hq_cds[3][coords] = { {-548.8602, -58.38938, -467.115, 0.0}, {-81.74512, -23.35575, -11.67788, 23.35575}, {-11.67788, 46.7115, 58.38938, 93.423} };
Код:
for(new xz = 0; xz < sizeof(hq_cds); xz ++) { hq[xz][zone] = GangZoneCreate(hq_cds[xz][minXx], hq_cds[xz][minYy], hq_cds[xz][maxXx], hq_cds[xz][maxYy]); printf("%d: %.4f, %.4f, %.4f, %.4f", hq[xz][zone], hq_cds[xz][minXx], hq_cds[xz][minYy], hq_cds[xz][maxXx], hq_cds[xz][maxYy]); }