How to Make /rules cmd and other Cmds
#5

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
Reply


Messages In This Thread
How to Make /rules cmd and other Cmds - by [Cali]ChrOnic_T - 16.02.2012, 13:38
Re: How to Make /rules cmd and other Cmds - by BleverCastard - 16.02.2012, 13:40
Re: How to Make /rules cmd and other Cmds - by Littlehelper - 16.02.2012, 13:41
Re: How to Make /rules cmd and other Cmds - by emokidx - 16.02.2012, 13:41
Re: How to Make /rules cmd and other Cmds - by caribe88 - 16.02.2012, 13:42
Re: How to Make /rules cmd and other Cmds - by doreto - 16.02.2012, 13:43
Re: How to Make /rules cmd and other Cmds - by Slash_ - 16.02.2012, 13:45
Re: How to Make /rules cmd and other Cmds - by Konstantinos - 16.02.2012, 13:56

Forum Jump:


Users browsing this thread: 7 Guest(s)