Raised This Month: $ Target: $400
 0% 

Using the plugin with variables


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-13-2011 , 07:09   Re: Using the plugin with variables
Reply With Quote #10

Then use bitsums combined with a array like fysiks explained in his post.

You can set/unset/check them individually for each player:
Code:
if(g_bitHudFlags[id] & HUD_HIDE_MONEY)
{
    // money are hidden
}
else
{
    // money are not hidden
}
Code:
g_bitHudFlags[id] |= HUD_HIDE_MONEY // hide money

g_bitHudFlags[id] &= ~(HUD_HIDE_MONEY) // unhide money
The same goes with all bitsum flags defined in fysiks' code.
__________________
Hunter-Digital 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 23:27.


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