13.07.2008, 19:40
Hi, i got this cmd from one a/me
But when i use it all people can see it.. I want to that command only player in Radius: 30
Thank for helping
Код:
if(strcmp(cmdtext, "/me", true, 3)==0) { // 3 is the length of /me new str[256], pname[256]; GetPlayerName(playerid, pname, 256); format(str, 256, "*** %s %s", pname, cmdtext[4]); SendClientMessageToAll(COLOR_LIGHTBLUE, str); } return 1; }
Thank for helping