Division Posted March 23, 2019 Posted March 23, 2019 Hello, First question: My team and I want to use C# for the server-side programming and JavaScript for the client-sided things. Is this possible and good to go? Second question: Is the storage between JS and C# different? - Because: When I wanted to to the following: player.Vehicle.SetData("test", "Testing123"); I had an event in my client-side (JavaScript) to get this data but the call was player.vehicle.getVariable('test'); The result was undefined. Is there an equalient function as vehicle.getData in JavaScript? What am I missing?
robearded Posted March 24, 2019 Posted March 24, 2019 You want to set SetSharedData instead of SetData on the server side if you want to access that data from clientside
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