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

[TF2] Annotation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 12-17-2014 , 08:35   [TF2] Annotation
Reply With Quote #1

Hi everyone, I want to know how set a annotation only for a player?
Ps: the annotation is the event "show_annotation"
__________________
Benoist3012 is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 12-20-2014 , 08:39   Re: [TF2] Annotation
Reply With Quote #2

Bump. How use the visibilityBitfield only for one player ??
__________________

Last edited by Benoist3012; 12-20-2014 at 08:42.
Benoist3012 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-20-2014 , 16:21   Re: [TF2] Annotation
Reply With Quote #3

SetEventInt(event, "visibilityBitfield", (1 << client));
bl4nk is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 12-20-2014 , 16:46   Re: [TF2] Annotation
Reply With Quote #4

Quote:
Originally Posted by bl4nk View Post
SetEventInt(event, "visibilityBitfield", (1 << client));
Can't it be client just?
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-21-2014 , 11:32   Re: [TF2] Annotation
Reply With Quote #5

Quote:
Originally Posted by bl4nk View Post
SetEventInt(event, "visibilityBitfield", (1 << client));
What happens here if client is 32 or 33?

Quote:
Originally Posted by Michalplyoutube View Post
Can't it be client just?
No, because its set up so more than one client can be present.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 12-21-2014 , 15:10   Re: [TF2] Annotation
Reply With Quote #6

SetEventInt(event, "visibilityBitfield", (1 << client << client+1)); Can work like this?
__________________
Benoist3012 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-21-2014 , 15:39   Re: [TF2] Annotation
Reply With Quote #7

Quote:
Originally Posted by Powerlord View Post
What happens here if client is 32 or 33?
Good question. I'd assume it would cause problems due to IA-32, but I haven't tested it myself.

Quote:
Originally Posted by Benoist3012 View Post
SetEventInt(event, "visibilityBitfield", (1 << client << client+1)); Can work like this?
That's not how bit shifting works. What are you trying to do here?
bl4nk is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 12-22-2014 , 03:48   Re: [TF2] Annotation
Reply With Quote #8

I want to display the annotation for 1 player
__________________

Last edited by Benoist3012; 12-22-2014 at 03:48.
Benoist3012 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-22-2014 , 17:51   Re: [TF2] Annotation
Reply With Quote #9

So do what I did in my first post in this thread. I'm still not sure what you were asking me for in the other post.
bl4nk is offline
Reply


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 02:13.


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