Scripting help :/
#2

pawn Код:
if(strcmp(cmdtext, "/me", true, 3) == 0)
{
     new pname1[24], string[256];
     GetPlayerName(playerid, pname1, 24);
     format(string, 256, "* %s (%d) %s", pname1, playerid, cmdtext[4]);
     SendClientMessageToAll(GetPlayerColor(playerid), string);
     return 1;
}
This is my /me command.
Reply


Messages In This Thread
Scripting help :/ - by Swizzzy - 02.08.2011, 20:41
Re: Scripting help :/ - by grand.Theft.Otto - 02.08.2011, 20:43
Re: Scripting help :/ - by Calgon - 02.08.2011, 20:46
Re: Scripting help :/ - by grand.Theft.Otto - 02.08.2011, 20:59
AW: Re: Scripting help :/ - by samtey - 02.08.2011, 21:03
Re: Scripting help :/ - by Swizzzy - 02.08.2011, 21:05
Re: AW: Re: Scripting help :/ - by Calgon - 02.08.2011, 21:06
Re: Scripting help :/ - by CJ101 - 02.08.2011, 21:15
Re: Scripting help :/ - by Tigerkiller - 02.08.2011, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)