Raised This Month: $ Target: $400
 0% 

Check CT Reconnect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-19-2014 , 14:42   Re: Check CT Reconnect
Reply With Quote #1

If you want to hook "retry" command, it's not possible. If not please explain better.
__________________

Last edited by HamletEagle; 10-19-2014 at 14:42.
HamletEagle is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-19-2014 , 15:39   Re: Check CT Reconnect
Reply With Quote #2

Quote:
Originally Posted by HamletEagle View Post
If you want to hook "retry" command, it's not possible. If not please explain better.
save player[ id ] when disconnect [reconnect] and check in connect to server if he's was CT before reconnect.

understand?
Snitch is offline
Send a message via Skype™ to Snitch
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 10-19-2014 , 18:48   Re: Check CT Reconnect
Reply With Quote #3

Quote:
Originally Posted by Snitch View Post
save player[ id ] when disconnect [reconnect] and check in connect to server if he's was CT before reconnect.

understand?
Can't do it that way as the player id changes. You would need to save by his unique userid with there steamid as key in nvault and they check when reconnect by matching there steamid to userid.
__________________
Blizzard_87 is offline
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-19-2014 , 19:06   Re: Check CT Reconnect
Reply With Quote #4

Quote:
Originally Posted by Blizzard_87 View Post
Can't do it that way as the player id changes. You would need to save by his unique userid with there steamid as key in nvault and they check when reconnect by matching there steamid to userid.
Thanks for the explanation, but I have no idea how to do it.

I need code like that, because i have problem in my Base Builder, players always do Retry and come back to CT Team
Snitch is offline
Send a message via Skype™ to Snitch
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 17:36.


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