SA-MP Forums Archive
Developing Plugin - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: Developing Plugin (/showthread.php?tid=369096)



Developing Plugin - iFizzy - 15.08.2012

I know C++ Basics, but I still cannot fully understand the way to make a plugin.

Pretty Much what I cannot understand is how to make something like this

pawn Code:
SetPlayerMode(playerid, mode)
Normally from what I know in C++ You could make a function like this

Code:
int SetPlayerMode(int playerid, int mode)
{
// Code here
}
After scrolling some plugins I have noticed some strange statements like " CHECK_PARAMS ".

And I was wondering if there is somewhere where you can actually learn developing plugins using the Samp Development Kit ( SDK ).

Thanks.


Re: Developing Plugin - MicroD - 15.08.2012

As far I know it is not possible to make playerid param in server side plugin.
Here is tutorial how to create plugin:
https://sampforum.blast.hk/showthread.php?tid=253436


Re: Developing Plugin - playbox12 - 15.08.2012

This stickied tutorial by Kyosaur goes a little bit deeper into plugin development.

https://sampforum.blast.hk/showthread.php?tid=295798


Re: Developing Plugin - Luis- - 15.08.2012

Can I say something about your signature iFizzy. You do know that it would kick everyone including the player who did the command (if it is a command). Off topic ftw!


Re: Developing Plugin - iFizzy - 15.08.2012

Quote:
Originally Posted by -Luis
View Post
Can I say something about your signature iFizzy. You do know that it would kick everyone including the player who did the command (if it is a command). Off topic ftw!
Just noticed and fixed it :O

Plus, I searched a bit deeper and found what I was searching for :P