17.06.2013, 07:28
Ok two lines.
pawn Код:
CMD:me(playerid, arg[]) { if(isnull(arg)) return SendClientMessageToAll(0xFF00FFFF, "Usage /me Does Some Action"); new line[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(line, sizeof(line), "%s %s", name, arg); return SendClientMessageToAll(0xFF00FFFF, line); }
pawn Код:
CMD:do(playerid, arg[]) { if(isnull(arg)) return SendClientMessageToAll(0xFF00FFFF, "Usage /do Does Some Action"); new line[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(line, sizeof(line), "%s %s", name, arg); return SendClientMessageToAll(0xFF00FFFF, line); }