Help with making plugins
#1

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.
Reply
#2

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
Reply
#3

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
Reply
#4

If only it was that easy.
Reply
#5

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
Reply
#6

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.
Reply
#7

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)
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)