View Single Post
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-22-2019 , 09:37   Re: Reason for disconnection amxx 1.9
Reply With Quote #7

Quote:
Originally Posted by Bugsy View Post
Show your code

Sure.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "arsmi"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}

public 
client_disconnected(idbool:dropmessage[], maxlen)
{
    if(
drop)
    {
        
log_amx("dropped by server")
        return 
PLUGIN_HANDLED
    
}
    else 
    {
        
log_amx("Player dropped itself")
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_HANDLED

Code:
L 04/22/2019 - 10:00:32: [plmenu.amxx] Kick: "iceeedR<1><STEAMxxxxxx><>" kick "iceeedR<1><STEAMxxxxxx><>"
L 04/22/2019 - 10:00:33: [tst.amxx] Player dropped itself
Another question, sometimes it is possible to get the team from whoever left "cs_get_user_team"), and sometimes it generates the error log, but this is correct? Given that in the API says "When this fires the entity player is still valid (eg is_user_connected (id) will return true), but in the networked commands will reach the client. "
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr