Search the Community
Showing results for tags 'Objects'.
-
Hi there! Question for you, since I'm not sure if I know the correct answer: What is the maximum amount of objects manageable by the RageMP server? For clarification: I especially mean those kind of objects that are created dynamically during runtime. My thoughts on that: Since the NetHandle class (C#) has this signature for its constructor: NetHandle(ushort handle, EntityType type) Now, with this constructor we know that the maximum amount of handles is 65535 (since an ushort has an integer range of 0-65535). But what about the EntityType param? How is the EntityType to be interpreted: It either could be this: "A unique object handle across different EntityType's (which means that there are only 65535 objects possible to be created)" or this: "A local unique object handle which is unique within a single EntityType (which would be (4 * 65535; 4 because of Player, Vehicle, Object and Pickup type; see the enum below) objects possible to be created)" public enum EntityType { Player = 0, Vehicle = 1, Object = 2, Pickup = 3, Blip = 4, Checkpoint = 5, Marker = 6, Colshape = 7, TextLabel = 8 } Or am I on the wrong way anyway? I am interested to know the technical limit. Happy discussing. Sincerely, Vincent
-
Hello so i was playing around with some dynamic objects since the json "dynamic" isn't recognised (or am i missing something?) So i figured out creating them via: https://wiki.rage.mp/index.php?title=Object::createObject resolves the issue and the object is dynamic. But doing this for 2k objects is a huge effort PLUS if you restart the server the object will be created twice in the client... createModelHide with a decent radius only "Hides" the object one time.. as soon as you restart the server the second time objects won't hide. Thanks for every help
-
Good evening. I have a problem that mapped things like a hotel room or similar with me on the server not shown. becomes. I once tried Menyoo and Map Editor including Mapbuilder. Do I have to install an extension on the server for these props to be displayed correctly? I've been looking for a solution for 7 days now, but I can not get any further. I would be very grateful for a helpful answer. greetings Also in private chat, it should go beyond the scope
-
I created a custom map with a map mod editor, I've added some items however, as I move away from the added items, and go back to them, they disappear. Can someone help me?