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

help flags


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
1M1e
Member
Join Date: Mar 2020
Old 07-21-2020 , 11:16   help flags
Reply With Quote #1

can some one do this code just who have flag ADMIN_BAN can see who connect ?


Code:
#include <amxmodx>

#define PLUGIN "ConnectDisconnect Message"
#define VERSION "1.0"
#define AUTHOR "AlliedMods"


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}

public client_connect(id){
    new szName[32]
    new szID[32]
    get_user_authid(id, szID, 19)
    get_user_name(id, szName, charsmax(szName))
    client_print(0, print_chat, "%s is connecting SteamID(%s)", szName, szID)
}

public client_putinserver(id){
    new szName[32]
    new szID[32]
    get_user_authid(id, szID, 19)
    get_user_name(id, szName, charsmax(szName))
    client_print(0, print_chat, "%s has connected SteamID(%s)", szName, szID)
}  

public client_disconnected(id){
    new szName[32]
    new szID[32]
    get_user_authid(id, szID, 19)
    get_user_name(id, szName, charsmax(szName))
    client_print(0, print_chat, "%s has disconnected SteamID(%s)", szName, szID)
}

Last edited by 1M1e; 07-23-2020 at 16:49.
1M1e 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 05:53.


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