16.02.2012, 13:42
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
SendCilentMessage(playerid, AnyColor, "1.No teamKilling");
SendCilentMessage(playerid, AnyColor, "2.Other Rules");
SendCilentMessage(playerid, AnyColor, "3.Other Rules");
SendCilentMessage(playerid, AnyColor, "4.Other Rules");
return 1;
}
return 0;
}
*By anycolor you have to define a color usualy for rules people use yellow but its your choice
Here is a list of somoe colors
#define COLOR_BLUE 0x375FFFFF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_MEDBLUE 0x0091FFFF
{
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
SendCilentMessage(playerid, AnyColor, "1.No teamKilling");
SendCilentMessage(playerid, AnyColor, "2.Other Rules");
SendCilentMessage(playerid, AnyColor, "3.Other Rules");
SendCilentMessage(playerid, AnyColor, "4.Other Rules");
return 1;
}
return 0;
}
*By anycolor you have to define a color usualy for rules people use yellow but its your choice
Here is a list of somoe colors
#define COLOR_BLUE 0x375FFFFF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_MEDBLUE 0x0091FFFF