Raised This Month: $51 Target: $400
 12% 

Question: m_bPlayerDominatingMe in TF2...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Scuzzy
Senior Member
Join Date: Oct 2007
Old 04-20-2008 , 22:19   Question: m_bPlayerDominatingMe in TF2...
Reply With Quote #1

The m_bPlayerDominatingMe looks like an array/table, a boolean for each player in the server. Is there a way to set and read these?

Scuzzy
Scuzzy is offline
noob cannon lol
SourceMod Donor
Join Date: Sep 2005
Old 04-20-2008 , 22:52   Re: Question: m_bPlayerDominatingMe in TF2...
Reply With Quote #2

pretty simple:

Code:
dominatingOffset = FindSendPropOffs("CTF2_Player", "m_bPlayerDominatingMe");

new bool:isdominating

for(new i = 0; i < 32; i++)
{
       isdominating = GetEntDataEnt(client, dominatingOffset + i)
}
noob cannon lol is offline
Send a message via AIM to noob cannon lol Send a message via MSN to noob cannon lol
Reply



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 21:41.


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