Quote:
Originally Posted by Spirit_12
I'm with Crasher_3637 on this one. Why create a whole new function when Format can easily solve the issue?
|
You say you're with him, but then you immediately disagree with him? He claimed that the snippet in the OP was a good alternative to a Format call.
Format-class functions exist across Sourcemod. From the various PrintTo*() functions, KickClient, ServerCommand, ClientCommand, ShowActivity, BuildPath, the logging functions, etc are all examples of this. We combine the formatting into the function for convenience.
There is an ongoing discussion in the Sourcemod Discord/IRC server about this, and the potential issues.
__________________