AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need help with entity_set_byte *Solved* (https://forums.alliedmods.net/showthread.php?t=60931)

I3lade203 09-16-2007 17:46

Need help with entity_set_byte *Solved*
 
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.


All times are GMT -4. The time now is 16:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.