24.01.2011, 13:41
pawn Код:
#define COLOR_MSG "{0xAAAAAAFF}"
SendClientMessage(playerid,COLOR_MSG ,"MSG!");
error 035: argument type mismatch (argument 2)
#define COLOR_MSG "{0xAAAAAAFF}"
SendClientMessage(playerid,COLOR_MSG ,"MSG!");
#define SOMECOLOR_COL (0xAAAAAA) // For deufault colors
#define SOMECOLOR_COL2 {0xAAAAAA} // For multi colors
#define color 0xFFFFFFFF // WHITE ( Wont have a effect, in this case )
#define blue "{A1C2FF}"
// I just use a color as SendClientMessage parament because it needs this parament
SendClientMessage(playerid,color,""#blue"MESSAGE");