Raised This Month: $ Target: $400
 0% 

Need help with entity_set_byte *Solved*


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
I3lade203
Junior Member
Join Date: Jun 2007
Old 09-16-2007 , 17:46   Need help with entity_set_byte *Solved*
Reply With Quote #1

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.

Last edited by I3lade203; 09-18-2007 at 09:31.
I3lade203 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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