07.04.2012, 20:09
pawn Код:
CMD:act(playerid, params[])
{
new
action[128],
user[MAX_PLAYER_NAME];
if(sscanf(params, "s", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /act [action]");
else {
GetPlayerName(playerid, user, sizeof user);
format(action, sizeof(action), "* %s ((%s))", params, user);
}
return 1;
}