Advantages of coding your gamemode in C++ over Pawn?
#5

Yes NaS, that's one of the main reasons i'm currently coding in C#.

It offers the NuGet package source which allows you to use any database backend you like without having to wait for someone in the SA-MP community to update all the plugins. It also allows you to use ORM such as nHibernate and Entity Framework, amongst other plugins.

My main reason for C# over C++ is its easy syntax for manipulating lists and working with the database behind it (in my case, MS SQL Server). The performance benefits of using C++ are IMHO not outweighed by the syntax sugar that C# offers. It dramatically reduces the complexity and amount of code needed in my gamemode.

See screenshot how easy it is to handle dialogs and events:

https://imgur.com/a/9olyd
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)