Raised This Month: $ Target: $400
 0% 

Linking an Entity to a Bool


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 02-07-2010 , 20:28   Linking an Entity to a Bool
Reply With Quote #1

How would I link a bool to an entity?

For example, to set the player's id with a bool, I'd do
PHP Code:
new b_IsCool[33]

b_IsCool[id] = true 
What would I need to make the size of the array for if I was doing this?
I'd need something like this
PHP Code:
new b_DeagleIsLarger[111// What would I set for the array size here?

b_DeagleIsLarger[e_Deagle] = true // I assume I'd just put the entity id in the brackets here. 
Any help is appreciated.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
 


Thread Tools
Display Modes

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 07:25.


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