• Hello and welcome to our new forums. We upgraded our forum sites to a more robust and modern system which we hope you will enjoy. Be sure to check out your profile by clicking the button on the top right and configure your preferences, signature, time zone, avatar, etc. as you wish. If you need help with using this new forum'ware try the help link on the bottom right.

    Click here to review your account now.

Question Bulding a GTA 5 Server

Joined
Apr 7, 2019
Messages
5
Programming Experience
Beginner
Hello all,

I am new to the community and learning C#. I wanted to get involved because I am wanting to make my GTA 5 FiveM server. Now I fully understand this will not be an easy task. It takes years to master anything and nothing you learn in the vast of a few months can be without failure. I am starting this thread to ask what type of task am I getting myself into? Once learned would C# be the best language to use for this type of venture and where else can I take this? I will be honest I am a new one to this world. It's not my "specialty" if you will. I am more of a social networker and marketing kind of guy. Thing is, when I see my friends and I try to find a "home server" it's always some non-sense involved. Ego driven administration, copy and past "developers", and so much non-sense that this list would take forever but if you have ever been in my shoes or dealt with this kind of annoyance I feel you deeply and I hope you feel mines.

With that introduction out the way, have at me
 
Joined
Apr 7, 2019
Messages
5
Programming Experience
Beginner
Well thanks all! Appreciate the feedback. Can I have an admin close this for me? I got all I needed here
 
Joined
Apr 7, 2019
Messages
5
Programming Experience
Beginner
What am I getting into by trying to do it? I hear C# is better for coding the servers. Since I never coded before what am I getting into by taking on this kinda order as a noob
 

JuggaloBrotha

Moderator
Staff member
Joined
Apr 23, 2011
Messages
146
Location
Lansing, MI; USA
Programming Experience
10+
That's a good question, I wish I could answer it but I have no idea what a "GTA 5 FiveM server" is. I'm familiar with a couple types of Linux and of course Windows servers of which C# programs will run fine on Windows servers but for Linux you'll need Xamarin (VS2017 or VS2019) or I think Mono is still quite popular.

Unfortunately without knowing what the server is that you're coding for or what you're stuck on in your program I'm not going to be able to help you.
 
Joined
Apr 7, 2019
Messages
5
Programming Experience
Beginner
That's a good question, I wish I could answer it but I have no idea what a "GTA 5 FiveM server" is. I'm familiar with a couple types of Linux and of course Windows servers of which C# programs will run fine on Windows servers but for Linux you'll need Xamarin (VS2017 or VS2019) or I think Mono is still quite popular.

Unfortunately without knowing what the server is that you're coding for or what you're stuck on in your program I'm not going to be able to help you.
So here is what I am hearing. Most of the servers use ESX (lua) when it comes to its scripts. This gives you things like







523


524

522



So when you place certain scripts you can these kind of features to your server. Now where is C# comes in is these ESX codes are trash (or so I am told) so C# is better as its easy to communicate these with community but I am guess you would have to wrewrite it all or take the esx and convert it to C#. Again this is what I am hearing
 

JohnH

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
482
Location
Norway
Programming Experience
10+
This seems like what you're looking for: FiveM Documentation ("SCRIPTING IN C#")
I know nothing about this as well, it just appeared in a general web search.
 

JohnH

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
482
Location
Norway
Programming Experience
10+
As I understand that is a "hello world" sample for FiveM scripting (?) in C#, it probably doesn't get easier than that if that is what you want to do.
Since I never coded before
You need general C# knowledge first in any case, no matter what you want to do with it, so find some C# tutorials and work through the basics of the language, then look back at the sample and see if you understand the code they've provided.
 
Top Bottom