Quote:
Originally Posted by PRoSToTeM@
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).
__________________