13.03.2013, 04:13
So, the moderator ****** gave me a warning and deleted the topic. This is why I am about to ask exactly the same in other words:
I've got a huge scripting problem. There's an include, called RemoveBuilding.inc. It has one cool feature - restores removed objects. When you remove an object, usually you remove an object itself and its LOD. When you restore an object, you restore the LOD also, but now they both are visible in very close distances and both not visible from far away. What I want is to make sure, that the detailed object is visible in short distances and the LOD - in long distances. The problem is, that SA:MP doesn't know, which object is LOD, these two are not connected by any means.
How to solve this scripting problem? Anyone know where to get the array of objects and their LODs, connected by the same array ID? Any other suggestions?
Thanks. And please, ******, if you are not going to help anyway, do nothing. I'll give you +REP for not visiting this topic
I've got a huge scripting problem. There's an include, called RemoveBuilding.inc. It has one cool feature - restores removed objects. When you remove an object, usually you remove an object itself and its LOD. When you restore an object, you restore the LOD also, but now they both are visible in very close distances and both not visible from far away. What I want is to make sure, that the detailed object is visible in short distances and the LOD - in long distances. The problem is, that SA:MP doesn't know, which object is LOD, these two are not connected by any means.
How to solve this scripting problem? Anyone know where to get the array of objects and their LODs, connected by the same array ID? Any other suggestions?
Thanks. And please, ******, if you are not going to help anyway, do nothing. I'll give you +REP for not visiting this topic
