SA-MP Forums Archive
[C++ / C# Knowers ] Need Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: [C++ / C# Knowers ] Need Help (/showthread.php?tid=293361)



[C++ / C# Knowers ] Need Help - zekstein - 28.10.2011

Hello there,

I need an 'API' or 'wrapper' to a method to hook the 'GTA SA:MP'.
I need to hook the event when player enters on server in my C++ / C# application ( preferable C# ).
Can someone help me ?

Thanks a lot !


Re: [C++ / C# Knowers ] Need Help - FarSe. - 28.10.2011

use GDK by Zeex ..
https://github.com/Zeex/sampgdk
Edit: oh,for application.. i don't think exist something like that... you can use something like 'SA-MP Query'(it is for PHP, but it can be made for c++ too - 'udp socket' or something like that )


Re: [C++ / C# Knowers ] Need Help - Christopher - 28.10.2011

You're best off creating a plugin for the server then the plugin sends the external data with the callback parameters to your application as I'm sure there is implications to memory address hacking to the physical server binaries.