View Single Post
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-07-2018 , 14:03   Re: FM Touch Entity
Reply With Quote #8

Quote:
Originally Posted by PRoSToTeM@ View Post
No, you need a string->int map (i.e. Trie) if you want to convert a enum string to integer.
If I use Tries, will I be able to store the weapon origin inside the .ini file too?

The format:
"ARM_MP5" "111.11 222.22 333.33"

Also my point is not to convert "ARM_MP5" (string) to an integer, I just need to make it compatible with the Enum (ARM_MP5).
__________________

Last edited by edon1337; 01-07-2018 at 14:04.
edon1337 is offline