Raised This Month: $51 Target: $400
 12% 

Inverse StringMaps?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 02-24-2018 , 06:28   Inverse StringMaps?
Reply With Quote #1

Hi,
Now in StringMaps I can save a key that will "give" me the value that is setted, now, I need to do the opposite, I need to save an int that will return a string.
Is it possible?
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 02-24-2018 at 07:06.
Papero is offline
Reiko1231
Member
Join Date: Apr 2013
Location: Russia
Old 02-24-2018 , 07:55   Re: Inverse StringMaps?
Reply With Quote #2

No.
But you can use IntToString() function to convert your integer into string.
Reiko1231 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 02-24-2018 , 08:24   Re: Inverse StringMaps?
Reply With Quote #3

Someone could finish off https://github.com/alliedmodders/sourcemod/pull/579
__________________
Peace-Maker is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 02-26-2018 , 13:22   Re: Inverse StringMaps?
Reply With Quote #4

Quote:
Originally Posted by Peace-Maker View Post
Seems like no one is going to
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode