Jump to content

Crossy1998

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Crossy1998

  1. As long as Rockstar EULA doesn't say anything about making money off their game then yes you can earn money. EULA can always be changed at any time.
  2. Hi, is there any information that the "enable-clientside-cs.txt" will be automatically in the next update? as I'm currently creating a server and I've built it in C# which players can only join if they have that text file in their directory. Any info would be appreciated. Thanks!
  3. The most efficient and readable way would be to create data-structures, That's why it's in the name to be able to structure data in a way that you would like to. If you're looking to just create something quickly just set a value on the player you are looking for in the command.
  4. Got it sorted in the end, it was the "enable-clientside-cs.txt" for some reason my computer was taking it as a text file but only with the extension .txt, I put it into Visual studio code changed it to a text file when saving and it removed the .txt part at the end. Working fully now!
  5. Why don't you just print out the vehicle it's trying to get into, if there's no vehicle being returned then it can't get into the vehicle.
  6. Yes I did, I've looked through most videos and forums but it still doesn't work. When I looked at how JS do it they use an "Index.js" file, I thought it would work the same but it doesn't from what I could tell it looks like cs_packages and anything in it gets loaded automatically and that's what seems to be the problem loading the actual "Main.cs" file. The "enable-clientside-cs.txt" also has "true" set in it.
  7. Well, I've been stuck with a little problem for a while, I can get C# Server Side scripting working fully and have tested it but when it comes to client side I have a bit of a problem. I've created the "cs_packages" folder in the 'client_resources' folder. When it comes to actually loading the script which is in its own folder inside cs_packages and yes it is not compiled into a .dll file. The problem is when I connect to my local server it grabs all the dll packages inside the cs_packages folder but doesn't start my "Main.cs" script which has a little output with "Loading Clientside". I've looked at YouTube videos like "Stuyk" and it worked for him, for me no. Any help would be appreciated, I'll leave the code in the Main.cs in a picture below.
×
×
  • Create New...