Smile325 Posted October 27, 2019 Share Posted October 27, 2019 Hello, I´m trying to learn everything around scripting from the Rage:MP Wiki pages. The Wiki said I just have to create the resource folder and add the name of the folder to the settings.xml in the bridge folder. But every time I start the server I´m getting the error "Error starting myresourcename, meta.xml has not been found.". Normally it should creating these missing files for me but it didn´t. Can anyone help me? Smile325 Link to comment Share on other sites More sharing options...
runamaus Posted October 28, 2019 Share Posted October 28, 2019 Hello, you mixed things up a little. There is one article about JavaScript-Serverside Scripting, where no meta.xml is stated, since its not needed. You just park that files into your packages Folder and your are done. They will load if you restart the Server.... however, if you want to use C# for Serverside-Scripting, you should follow the article about this, since it will tell you to create the meta.xml file and its contents. This is also written in the Article that got linked by the Rage:MP-Wiki: Getting Started with Development (GTA:Network) Kind regards Runa Link to comment Share on other sites More sharing options...
Smile325 Posted October 28, 2019 Author Share Posted October 28, 2019 Thanks! You are totally right, I mixed the Wiki articles a bit. However my Serverside Scripting with C# is working now. Can you tell me how I can start Scripting Clientside with c#? Because I do using Javascript as Clientside language but maybe because I´m using c# as the Serverside language, I should use c# for Clientside as well. What do you think? Link to comment Share on other sites More sharing options...
runamaus Posted October 31, 2019 Share Posted October 31, 2019 Hello Smile325, I wouldn't recommend programming on C# on the client side. This causes a lot of problems - starting with the fact that you have to explain to each player individually that he has to create a special file in the Rage.MP folder ... ending with not complete range of functions ... you can - like me for example - use C# on the server side and still use JavaScript on the client side, then you have the least problems with that... especially since nearly all functions at Client-side C# are not documented right now: Client-side CSharp functions Best regards Runa Link to comment Share on other sites More sharing options...
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