in0finite / SanAndreasUnity

Open source reimplementation of GTA San Andreas game engine in Unity
https://discord.gg/p6jjud5
MIT License
2.13k stars 352 forks source link

TypeScript for a server programming language #88

Closed prnxdev closed 4 years ago

prnxdev commented 4 years ago

If you are planning to implement some language to program server logic I suggest to use TypeScript or just JavaScript (someone who knows MTA:SA - I'm talking about Lua implementation they are using into this modification). Using node.js I think it's simple but that language is pretty dope for me and has a lot of nice features. Also TypeScript provides types which is also nice for people who aren't developers (because they will get nice syntax prompting with IntelliSense) and to people who are programming in that language.

in0finite commented 4 years ago

Right now, there is no support for scripting mods. When it gets implemented, I plan to add C# as first language. Later on, developers can build wrappers around C# API, which will make it possible to use any language you like.