Jump to content

KAyo

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by KAyo

  1. Probably your savegame
  2. KAyo

    OIV Modding

  3. That would be awesome.. having a lot of troubles with collision files
  4. You can use this function: https://wiki.rage.mp/index.php?title=Entity::createModelHide mp.game.entity.createModelHide(x, y, z, radius, model, p5); For coordinates you can delete the world object with MapEditor for example and read it out of the xml so you'll get coords + hash Deleted world objects are below the "RemoveFromWorld" if you don't know the hash ID you can convert the name with https://wiki.rage.mp/index.php?title=Globals::joaat mp.game.joaat(String); Which is used like: mp.game.entity.createModelHide(x, y, z, radius, mp.game.joaat('objectname'), p5);
  5. KAyo

    Dynamic Objects

    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
  6. KAyo

    YMAP Roation issue

    What it should look like: https://gyazo.com/9a6440a73393fb3847db7e839f043b7b https://gyazo.com/25412506c13da9311c753fbaf0bf0816 How it ACTUALLY looks ingame: https://gyazo.com/38fd946bf3471c56287d46f5cb819d6d https://gyazo.com/395ddf2b25c06b09d77d20f7b0683925
  7. KAyo

    YMAP Roation issue

    I'm having a little problem with the rotations of ymaps. Whenever i implement a map to my server with the dlc.rpf the rotations are screwed. It looks like the pitch achis gets set 0 for every object. Someone had this issue before?
  8. KAyo

    PlayerDamage

    I tried the PlayerDamage event on server and client side which only outputs a text to the chat for testing at first. But on both variants the events didnt got triggered. Why? mp.events.add("playerDamage", (player, healthLoss, armorLoss) => { mp.gui.chat.push("You lost: " + healthLoss); });
×
×
  • Create New...