SA-MP Forums Archive
Help with making plugins - 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: Help with making plugins (/showthread.php?tid=140224)



Help with making plugins - pagie1111 - 08.04.2010

I want to learn how to create plugins. Please give me a list of all things I will need and maybe an example.

This is much appreciated in advance.


Re: Help with making plugins - Mina - 08.04.2010

Quote:
Originally Posted by {Awaran};
I want to learn how to create plugins. Please give me a list of all things I will need and maybe an example.

This is much appreciated in advance.
cplusplus.com


Re: Help with making plugins - ev0lution - 08.04.2010

You'll need C programming experience, a compiler, and the SA-MP plugin SDK. (http://files.sa-mp.com)
For examples, check the SDK or download the source of any of the released plugins here.

http://forum.sa-mp.com/index.php?topic=94340.0


Re: Help with making plugins - Jay_ - 08.04.2010

If only it was that easy.


Re: Help with making plugins - pagie1111 - 08.04.2010

Is there an SA:MP 0.3 SDK Plugin? or is the one "sa-mp-0.2-plugin-sdk.zip" from http://files.sa-mp.com/ the one i need to get?


- Awaran


Re: Help with making plugins - ev0lution - 08.04.2010

Quote:
Originally Posted by {Awaran};
Is there an SA:MP 0.3 SDK Plugin? or is the one "sa-mp-0.2-plugin-sdk.zip" from http://files.sa-mp.com/ the one i need to get?


- Awaran
Yeah, 0.2 is the latest, there is no 0.3 plugin SDK.


Re: Help with making plugins - pagie1111 - 08.04.2010

Where would I place this in my Visual C++ 2008 files?

(I know this is not a C help forum, I am not asking for codes. Just a little help to get me started)


Re: Help with making plugins - ev0lution - 08.04.2010

Quote:
Originally Posted by {Awaran};
Where would I place this in my Visual C++ 2008 files?

(I know this is not a C help forum, I am not asking for codes. Just a little help to get me started)
There is (AFAIK) an example plugin, HelloWorld, in the SDK.
Your plugin's project directory should follow the same structure.

You should probably read the included readme file, it helps.