Jump to content

CreateModelHide not working for me


Recommended Posts

Posted

Hi, I'm trying to hide a gate in my map and it is not working. It's the gate in the cypress truck depot area. This is the client side script.

 

    mp.events.add('playerJoinedServer', (id, name) => {
        menu.execute(`addPlayerInTheTable('${id}', '${name}');`);
        mp.game.entity.createModelHide(996.4036, -2481.757, 28.80065, 100, 'prop_facgate_04_l', true);
        mp.game.entity.createModelHide(985.8288, -2480.68, 28.80065, 100, 'prop_facgate_04_r', true);
    });

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...