- Joined
- Sep 9, 2008
- Messages
- 1,947
- Reaction score
- 390
I have a server that emulates Flyff. It has well over 300 npcs in the game. I want to make a switch case because if statements are too much for that many conditions and I want to save memory as well. The problem is they are in char* format and I get errors trying to switch case them.
How can I do this?
How can I do this?