Raised This Month: $ Target: $400
 0% 

Is it possible?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-04-2011 , 00:30   Is it possible?
Reply With Quote #1

Is it possible to make client binds when they log into server and when they leave binds are disabled?
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-04-2011 , 00:30   Re: Is it possible?
Reply With Quote #2

No, and next time chose more descriptive title thanks.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-04-2011 , 00:33   Re: Is it possible?
Reply With Quote #3

Ok. Sorry for the title. Thanks.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-20-2013 , 10:56   Re: Is it possible?
Reply With Quote #4

It isn't? What if on player connect, check what that key is binded to, save it and bind it to what you want, and on player disconnect bind it to default?
Unkolix is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-20-2013 , 11:36   Re: Is it possible?
Reply With Quote #5

Quote:
Originally Posted by Unkolix View Post
It isn't? What if on player connect, check what that key is binded to, save it and bind it to what you want, and on player disconnect bind it to default?
You can't do anything to the client upon their disconnect.
__________________
hleV is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-20-2013 , 20:58   Re: Is it possible?
Reply With Quote #6

Quote:
Originally Posted by Unkolix View Post
It isn't? What if on player connect, check what that key is binded to, save it and bind it to what you want, and on player disconnect bind it to default?
In addition to what hleV said, it's not possible to know what players' binds are to begin with so even if it was possible to send commands after disconnection, you wouldn't know what binds to set them back to.
__________________
fysiks is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-21-2013 , 03:21   Re: Is it possible?
Reply With Quote #7

Well... I saw an event client_disconnect... If it would be possible, is it possible to force player to execc a file with those binds and on disconnect exec the old file?
Unkolix is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-21-2013 , 03:28   Re: Is it possible?
Reply With Quote #8

The client has already disconnected by the time client_disconnect is called.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
hypheni
Senior Member
Join Date: Jul 2011
Location: India
Old 02-21-2013 , 03:47   Re: Is it possible?
Reply With Quote #9

I see many servers which binds several client keys with ads or some other spam. It is not recommended that you play with client's binding.
hypheni is offline
Send a message via Skype™ to hypheni
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 19:35.


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