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

Banear jugador


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dieeho
Member
Join Date: Oct 2011
Old 04-20-2012 , 22:58   Banear jugador
#1

Hola a todos.

Bsuque un plugin para banear jugadores cierto tiempo si se desconecta del servidor.
Probe este pero no me funciona y queria ver si podrian ayudarme.

PHP Code:
 
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
    
register_plugin("Disconnect Ban" "1.0.2" "Krm"
 
    
register_cvar("amx_dsban""0"FCVAR_SERVER)
}
public 
client_disconnect(id
{
    new 
Name[32], Sid[32]
 
    if(
get_cvar_num("amx_dsban") <= 0)
        return
 
    
get_user_name(idName31)
    
get_user_authid(idSid31)
    
server_cmd"amx_addban ^"%s^" ^"%s^" 60 ^"Disconnected^""NameSid)
 


Last edited by dieeho; 04-20-2012 at 22:59.
dieeho is offline
 



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


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