View Single Post
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 01-07-2018 , 13:53   Re: FM Touch Entity
Reply With Quote #7

Quote:
Originally Posted by edon1337 View Post
In my .ini file I put the ARM Name as a string, ex: "ARM_MP5" and when I read it I use str_to_num to make it an integer, is that correct?
No, you need a string->int map (i.e. Trie) if you want to convert a enum string to integer.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@