Command is acting weird
#2

Simple, try:

pawn Код:
if(strcmp(cmdtext, "/b", true, 2) == 0)
{
if(!cmdtext[2])return SendClientMessage(playerid, COLOR_RED, "USAGE: /b [text]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "*%s %s", str, cmdtext[3]);
SendLocalMessage(playerid, COLOR_PURPLE, 7, str);
return 1;
}
Reply


Messages In This Thread
Command is acting weird - by (Jeff) - 05.02.2010, 16:30
Re: Command is acting weird - by LuxurioN™ - 05.02.2010, 16:39
Re: Command is acting weird - by hvampire - 05.02.2010, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)