15.01.2016, 22:04
It looks fine, to be honest. You could make it look neater by aligning all the "=" symbols and by splitting the Create functions over multiple lines. White-space has no influence on the code whatsoever. I regularly space things out like this:
What you could still do, however, is splitting off all the actual game interiors. Like if you have a bunch of houses that all use the same "burglary house 1" interior then you could split those off into another table. You could then state that houses 7, 15 and 37 all use "burglary house 1" without needing to repeat those coordinates again.
Edit:
I didn't even notice that giant flaw. Sharp eye.
PHP код:
InteriorCP[intid] = CreateDynamicCP(
INTInfo[intid][INTCPOutX], // x
INTInfo[intid][INTCPOutY], // y
INTInfo[intid][INTCPOutZ], // z
1.5, // size
0, // worldid
0, // interiorid
-1, // playerid
20 // streamdistance
);
Edit:
I didn't even notice that giant flaw. Sharp eye.