Raised This Month: $ Target: $400
 0% 

[CSS] Question for offset


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
delachambre
AlliedModders Donor
Join Date: Jan 2011
Location: France
Old 10-24-2012 , 09:29   [CSS] Question for offset
Reply With Quote #1

Hello,

This is a moment that I ask myself a question, what "m_bConnected" is it?

Is it possible with this display if the player is connecting to the server?

Thanks in advance !
__________________
♥ 𝕊ℙ𝕒𝕨𝕟 𝔻𝕖𝕧𝕖𝕝𝕠𝕡𝕖𝕣 [ℂ𝕊:𝕊] ♥

Clan-Nemesis
delachambre is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-24-2012 , 09:45   Re: [CSS] Question for offset
Reply With Quote #2

Quote:
Originally Posted by delachambre View Post
Hello,

This is a moment that I ask myself a question, what "m_bConnected" is it?

Is it possible with this display if the player is connecting to the server?

Thanks in advance !
as far as i seen, the "m_bConnected" offset was used to hide people from the scoreboard.
Mitchell is offline
delachambre
AlliedModders Donor
Join Date: Jan 2011
Location: France
Old 10-24-2012 , 11:22   Re: [CSS] Question for offset
Reply With Quote #3

Quote:
Originally Posted by Mitchell View Post
as far as i seen, the "m_bConnected" offset was used to hide people from the scoreboard.
only this ?
__________________
♥ 𝕊ℙ𝕒𝕨𝕟 𝔻𝕖𝕧𝕖𝕝𝕠𝕡𝕖𝕣 [ℂ𝕊:𝕊] ♥

Clan-Nemesis
delachambre is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-24-2012 , 15:00   Re: [CSS] Question for offset
Reply With Quote #4

Quote:
Originally Posted by delachambre View Post
Is it possible with this display if the player is connecting to the server?
Why dont you use a PrintToChatAll or something with the name and translated "joined the server." message?

Connected is just an offset to set to tell the game that they are actually connected.
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-24-2012 , 15:17   Re: [CSS] Question for offset
Reply With Quote #5

Note that SourceMod has OnClientConnected for this sort of thing. There is also OnClientConnect, but it's used to block connections.

A "connected" client is one that has connected to the server. It may still be loading the map (and downloading any files it needs from your fast download server). OnClientPutInServer fires when a client finishes loading the map.

Note that IsClientConnected and IsClientInGame can be used to check that the above have fired.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 10-24-2012 at 15:23.
Powerlord is offline
delachambre
AlliedModders Donor
Join Date: Jan 2011
Location: France
Old 10-24-2012 , 15:22   Re: [CSS] Question for offset
Reply With Quote #6

Nice boy's !

Thanks !
__________________
♥ 𝕊ℙ𝕒𝕨𝕟 𝔻𝕖𝕧𝕖𝕝𝕠𝕡𝕖𝕣 [ℂ𝕊:𝕊] ♥

Clan-Nemesis
delachambre is offline
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 11:37.


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