SA-MP Forums Archive
[Q] Is it possible to make plugins in C#? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Q] Is it possible to make plugins in C#? (/showthread.php?tid=274701)



[Q] Is it possible to make plugins in C#? - SchurmanCQC - 06.08.2011

I've heard a lot of people say you can't, and a lot of people say you can.

If you actually can, could someone give me some kind of template or tutorial?


Re: [Q] Is it possible to make plugins in C#? - Calgon - 06.08.2011

You can write a wrapper in C++ for C#, yes.


Re: [Q] Is it possible to make plugins in C#? - Lorenc_ - 07.08.2011

I'll be getting started!


Re: [Q] Is it possible to make plugins in C#? - Gamer_Z - 07.08.2011

why do you need wrappers and wrappers over again?
I'm not pro at this kind of topics but shouldn't it be possible to rewrite the SDK to a other language like zeex is doing it for 'D' now?


Re: [Q] Is it possible to make plugins in C#? - Calgon - 07.08.2011

Need? I only provided a single solution. You suggest one that can be done with ease, Gamer_Z.


Re: [Q] Is it possible to make plugins in C#? - xxmitsu - 07.08.2011

There was a project like this in past: https://sampforum.blast.hk/showthread.php?tid=204969 but for now is no longer maintained.
Quote:

30/03/2011: Release of future versions discontinued.




Re: [Q] Is it possible to make plugins in C#? - Sasino97 - 07.08.2011

I think you can only write a plugin with C / C++ because the PAWN Abstract Machine was written in C.


Re: [Q] Is it possible to make plugins in C#? - Calgon - 07.08.2011

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
You can write a wrapper in C++ for C#, yes.
Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
I think you can only write a plugin with C++ because the PAWN Abstract Machine was written in C.
Yes, which is why you can write a wrapper in C++ for any almost any other programming language.