valietre Posted February 13, 2020 Share Posted February 13, 2020 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. Link to comment
ReZurrecti0n Posted February 14, 2020 Share Posted February 14, 2020 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 1 Link to comment
valietre Posted February 14, 2020 Author Share Posted February 14, 2020 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 Link to comment
sFxMTA Posted February 14, 2020 Share Posted February 14, 2020 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 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now