10.08.2011, 23:48
Код:
#define Red 0xFF0000FF #define Grey 0xAFAFAFAA #define Green 0x33AA33AA #define Yellow 0xFFFF00AA #define White 0xFFFFFFAA #define Blue 0x0000BBAA #define Lightblue 0x33CCFFAA #define Orange 0xFF9900AA #define Lime 0x10F441AA #define Magenta 0xFF00FFFFT #define Navy 0x000080AA #define Aqua 0xF0F8FFAA #define Crimson 0xDC143CAA #define Black 0x000000AA #define Brown 0XA52A2AAA #define Gold 0xB8860BAA #define Limegreen 0x32CD32AA
Код:
#include <a_samp> #define Red 0xFF0000FF #define Grey 0xAFAFAFAA #define Green 0x33AA33AA #define Yellow 0xFFFF00AA #define White 0xFFFFFFAA #define Blue 0x0000BBAA #define Lightblue 0x33CCFFAA #define Orange 0xFF9900AA #define Lime 0x10F441AA #define Magenta 0xFF00FFFFT #define Navy 0x000080AA #define Aqua 0xF0F8FFAA #define Crimson 0xDC143CAA #define Black 0x000000AA #define Brown 0XA52A2AAA #define Gold 0xB8860BAA #define Limegreen 0x32CD32AA
Код:
if(!strcmp(cmdtext, "/g", true, 3)) { if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /g [text]"); new str[128]; GetPlayerName(playerid, str, sizeof(str)); format(str, sizeof(str), "%s %s", str, cmdtext[4]); SendClientMessageToAll(COLOR_LIMEGREEN, str); return 1; }