Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new special format specifiers. #93

Merged
merged 2 commits into from
Aug 1, 2014

Conversation

Arkshine
Copy link
Member

@Arkshine Arkshine commented Aug 1, 2014

Same as SourceMod, this adds 2 special format specifiers:

  • %n : expands to a string containing the player's name.
  • %N : expands to 1<2><3><4> where 1 is the player's name, 2 is the player's userid, 3 is the player's SteamID, and 4 the player's team name.

I would have been nice to use %L for log format, but unfortunately it's already taken.
If you have better suggestion for a letter, @TheDS, fee free to share it.

@TheDS
Copy link
Member

TheDS commented Aug 1, 2014

Oops, it looks like I commented from the wrong place. Take a look at this for better context: Arkshine@bbc8329#amxmodx-format-cpp-P66

@Arkshine
Copy link
Member Author

Arkshine commented Aug 1, 2014

This should be sorted now. I love when you review, you have always so much to say, it makes me feel bad! :P
That's said, I should really pay more attention.

@TheDS
Copy link
Member

TheDS commented Aug 1, 2014

Looks great now! 🐑

Arkshine added a commit that referenced this pull request Aug 1, 2014
@Arkshine Arkshine merged commit 0bfcaa8 into alliedmodders:master Aug 1, 2014
@Arkshine Arkshine deleted the atcprintf-new-parameters branch August 1, 2014 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants