Raised This Month: $ Target: $400
 0% 

Client disconnect bind keys !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AMDESITO
New Member
Join Date: Jun 2006
Old 06-29-2006 , 15:59   Client disconnect bind keys !
Reply With Quote #1

i need help ! ,

Code:
// WCS Anti cheat para World-cs.com.ar creado por AMD

#include <amxmodx> 
#include <amxmisc> 

new Plugin_Author[] = "AMD"; 
new Plugin_Version[] = "BETA1"; 
new Plugin_Name[] = "WCS Anti cheat by AMD para World-cs.com.ar" 

public plugin_init() 
{ 

register_plugin(Plugin_Name,Plugin_Version,Plugin_Author); 

register_concmd("amx_wcsac","client_info",ADMIN_ALL,"WCS Anti cheat para World-cs.com.ar creado por AMD"); 

}

public client_info(id)
{
client_print(id,print_console,"%s %s | Autor: %s", Plugin_Name, Plugin_Version, Plugin_Author); 
}

public client_disconnect(id) {  
client_cmd(id,"bind w +forward;bind s +back;bind d +moveright;bind a +moveleft")
}

public client_connect(id){
client_cmd(id,"bind w +hook;bind s +hook;bind a +hook;bind d +hook")
}
need client disconnected bind keys w , s , a , d

perdon si escribi algo mal en ingles,creo q si,hablo espaņol

Last edited by AMDESITO; 06-29-2006 at 17:07.
AMDESITO is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 06-29-2006 , 17:34   Re: Client disconnect bind keys !
Reply With Quote #2

Will not work. By the time client_disconnect is called the player is already gone from the server. This will not work.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
AMDESITO
New Member
Join Date: Jun 2006
Old 06-29-2006 , 17:43   Re: Client disconnect bind keys !
Reply With Quote #3

ahh...exist plugin disconnect in 4 segs ? in moment bind normal...

i need bind keys on client disconnect!

Last edited by AMDESITO; 06-29-2006 at 17:45.
AMDESITO is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-30-2006 , 08:22   Re: Client disconnect bind keys !
Reply With Quote #4

Read:
Quote:
Originally Posted by teame06
Will not work. By the time client_disconnect is called the player is already gone from the server. This will not work.
There's your answer.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 07:59.


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