Jump to content

Toggle server mods


Recommended Posts

Posted

Hey, I have looked around the forum for a topic relating to this but I haven't come across one as of yet.

Basically, I have some server side vehicle mods on the server, and a few people are asking if we can create a function to toggle the mods for them, so that they can see there own mods. We have quite a few players who really like the server mods so we don't want to remove them, we just want to make everyone happy.

Is this possible with MTA at the moment? I was thinking, of a command to set a database entry or setElementData and if that is set to 0, then dont apply the mods for that user?

Posted

Replacing models is client side... you can make command for restoration of default models. Use engineRestoreModel for that. (Not sure if the function's name's correct, check wiki)

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