Going off of what Stigg and Zonoya said, that's the perfect way to learn. Check out the includes, maybe some custom ones you have downloaded. For starters you could start out by making a simple include with a few functions, like
You can use programs such as notepad, notepad++, or even pawno. Although you don't compile includes, so when you use it if it has errors, that's when they show up. As for my Heal example, you would start out by
Then you would make you function, these could be stocks or publics. Publics will require you to forward it, stocks will not. So you can do
Код:
stock Heal(playerid)
{
SetPlayerHealth(playerid, 100);
}
Some other things you can do to start out with includes is, make a color include. Just add the
like I said before, then you can add all the colors you want:
Код:
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
Those are just some common colors used, have fun and good-luck.