06.09.2013, 10:36
(
Последний раз редактировалось hassantariq73; 06.09.2013 в 13:16.
)
Hello, This is my very first tutorial. I am a beginner at scripting. Also, Thought to make a tutorial on how to create a /credits command.
Requirements:- Your fav colors.
- Pawno
1. Open Pawno
2. File> New
3. Locate
pawn Код:
if(strcmp("/mycommand", cmdtext, true) == 0)
4. Find your fav color and put it after includes like
pawn Код:
#include <a_samp>
#define COLOR_ORANGE 0xFF9900AA
6. remove
pawn Код:
//Do something here
pawn Код:
SendClientMessage(playerid, YOUR_COLOR, "ME FOR THIS TUTORIAL");
8. Change YOUR_COLOR and put the color you defined at the top , If you choosed the color same as me, Then use this
pawn Код:
SendClientMessage(playerid, COLOR_ORANGE, "ME FOR THIS TUTORIAL");
10. Add your FS in server.cfg
10.Type your command in game and done !