Quote:
Originally Posted by Napoleon_be
PHP Code:
public client_disconnect(id)
If a user is disconnected, he cannot receive a message anymore. from the server because he lost contact with the server from then on.
|
Lol, her the print_chat works:
PHP Code:
public client_disconnect(id)
{
new Name[32], Sid[32]
if(get_cvar_num("amx_dsban") <= 0)
return
if(get_user_flags(id) & ADMIN_IMMUNITY)
return
get_user_name(id, Name, 31)
get_user_authid(id, Sid, 31)
client_print(0, print_chat, "%s O jogador '%s' miou e sera banido por 2 horas", pug_header, Name)
server_cmd( "amx_addban ^"%s^" ^"%s^" 120 ^"Saiu em uma partida LIVE!^"", Name, Sid)
}
__________________