Hi, I'm working on a plugin for TFC. There's an entity in all TFC maps called 'info_tfdetect' which basically controls the maps settings, such as max players per team, class limits, ect.
http://tf.valve-erc.com/kbase.php?id=4 - That's the reference in case you need it.
Basically, what I want to do is modify the field '
Blue class limits toggleflags' which uses bytes to determine what classes are available to each team. So I know what entity i'm working with, and I know what field to change - but can someone help me figure out HOW to change it? I assumed I was going to use entity_set_byte, but can't figure out what I'd need to do in order to get this to work. It's a huge part of a plugin I'm working on, so i'd be extremely appreciative if someone could help at least point me in the right direction.
Thanks in advance!
EDIT: I solved the issue.