View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-05-2016 , 20:57   Re: SourceMod 1.8 Now Stable
#6

Quote:
Originally Posted by psychonic View Post
Updated GetMapDisplayName to to match game on Windows. (Uses backslashes)
GetMapDisplayName is actually new in 1.8 as it never got ported to 1.7.

For people who don't know what it is, it's a function to get a "nice" name for Workshop maps.

Signature is
Code:
native bool GetMapDisplayName(const char[] map, char[] displayName, int maxlen);
It will only return false if the map isn't found.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-05-2016 at 21:07.
Powerlord is offline