Alternative to old cl_shownames %p message
Samual created issue #941 (old tracker) on 2011-12-28T23:02:21Z:
When you send chat/team messages, they are parsed and have special filters which return special things… there used to be one named "p", and it used to return the name of the last player you saw on screen.
Now that shownames has been re-written into client side code, that flag is no longer available, and a lot of players really miss it.
I came up with a new idea: p is set as the last person you shot/hit… If that time was greater than ~10 seconds ago, it uses the closest person to you? This also gives an opportunity for another feature idea I had for CTF, but i’ll worry about that later ;D
Edited by terencehill