Developing Plugin
#1

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

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

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

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

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!
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)