valietre

/mods command

Recommended Posts

Hello there, i want to create a roleplay server and I want to learn to script and i'm a beginner. So, i want to make a script to activate/deactivate car mods, skin mods, weapon mods.

Share this post


Link to post

If you're only beginning to learn Lua and how scripting MTA works, I recommend starting out simple first...

Mods are great, but probably not going to go well without any prior coding experience

But take one step at a time, get the smaller and more simple things done first such as a spawning point, skin selection, team or class options... Things of that nature and then work your way up towards the desired mod scripts. But if you truly insist on starting on the mods first, consult the Wiki for Server/Client Functions/Events you are going to need

  • Thanks 1

Share this post


Link to post
1 hour ago, ReZurrecti0n said:

If you're only beginning to learn Lua and how scripting MTA works, I recommend starting out simple first...

Mods are great, but probably not going to go well without any prior coding experience

But take one step at a time, get the smaller and more simple things done first such as a spawning point, skin selection, team or class options... Things of that nature and then work your way up towards the desired mod scripts. But if you truly insist on starting on the mods first, consult the Wiki for Server/Client Functions/Events you are going to need

Thanks for your answer but let me explain this command. I want to create a panel wich you can activate/deactivate mods

Share this post


Link to post

You can start drawing your panel with guieditor (https://community.multitheftauto.com/index.php?p=resources&s=details&id=141)

Then you'll need to learn a bit the events you'd need: https://wiki.multitheftauto.com/wiki/OnClientGUIClick

And you'll need to learn how to load dff/txd files: https://wiki.multitheftauto.com/wiki/EngineLoadTXD

If you're patient enough and you wanna learn then take your time and look these pages, if you're here to get a working script then you're on the wrong section and you must hire a scripter to make it for you

Share this post


Link to post

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.