When you psay a player, the partial name you've used to identify the player is printed back at them. I think it'd be cleaner if it used the full name that the partial name matched.
It would take all of one line to go from the player seeing this:
(jack) ADMIN: do not be afraid
To the player seeing this:
(Jack of Spades) ADMIN: do not be afraid
The one line is highlighted below.
Code:
public cmdPsay(id, level, cid)
{
if (!cmd_access(id, level, cid, 3))
return PLUGIN_HANDLED
new name[32]
read_argv(1, name, 31)
new priv = cmd_target(id, name, 0)
if (!priv)
return PLUGIN_HANDLED
get_user_name(priv, name, 31);
__________________