pandov Posted June 4, 2019 Share Posted June 4, 2019 Hey guys! Originally wrote the code on the client in C#. Unfortunately it does not support some of the features that I need. Therefore, I decided to transfer the client's side to the language of JS. But the problem arose at the very beginning of the journey. I opened the tutorial (https://wiki.rage.mp/index.php?title=Getting_Started_with_Client-side) and did everything as written there. Then I started the server and joined it and I realized that nothing works. Based on the lesson materials, I have to get a chat message. But nothing works. I would like to appeal to the multiplayer community. Can you help me solve this problem? Link to comment Share on other sites More sharing options...
robearded Posted June 4, 2019 Share Posted June 4, 2019 cs_packages folder is for C# resources. Put your index.js inside /client_packages and not /client_packages/cs_packages. Also what features the C# version of the api doesn't supports? I think most functions are implemented on C# (I only know of 2 functions that are not, and they can easily be put inside the index.js to run at startup while the rest of the scripts are on C#). 1 Link to comment Share on other sites More sharing options...
pandov Posted June 4, 2019 Author Share Posted June 4, 2019 For sure! Thank you very much man! You really helped me. Best regards and good luck to you!) 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