12.07.2012, 01:49
LOL It's there.
pawn Код:
#include <a_samp>
//==============================================================================
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
//Colours
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DEADCONNECT 0x808080AA
#define COLOR_BLUE 0x0000FFAA
#define COLOR_PURPLE 0x800080AA
#define COLOR_ERROR 0xD2691EAA
#define COLOR_PINK 0xFF0080FF
//==============================================================================
//==============================================================================
#define TEAM_CIVIL 0
#define TEAM_COP 1
#define TEAM_ARMY 2
#define TEAM_CIVIL_COLOUR 0xFFFFFFAA
#define TEAM_COP_COLOUR 0x0000FFAA
#define TEAM_ARMY_COLOUR 0x33AA33AA