25.07.2012, 10:50
pawn Код:
if(!strcmp(cmdtext, "/do", true, 3)) // 3 is the length of /me
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "Correct usage: /do [text]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
ProxDetector(20.0, playerid, str, 0xFF85FFB0,0xFF85FFB0,0xFF85FFB0,0xFF85FFB0,0xFF85FFB0);
return 1;
}
Robert types this in
I want it to be like
Text Entered ((PlayerName))
how do I do that?