21.11.2011, 05:29
Alright, so I got a bit of help, originally this was a Wiki /me script, but I edited it to what I thought would work:
Should look somewhat like this IG. Eating ((Nathan Mader)) when I type /do, but instead it has been looking like: [b]/do Eating ((an_Mader))
So, if someone could help me, it would be greatly appreciated, thank you all!
Should look somewhat like this IG. Eating ((Nathan Mader)) when I type /do, but instead it has been looking like: [b]/do Eating ((an_Mader))
pawn Код:
if(!strcmp(cmdtext, "/do", true, 3)) // 3 is the length of /me
{
if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /do [action]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "%s ((%s))", cmdtext, str[4]);
SendClientMessageToAll(0xC2A2DAAA, str);
return 1;
}