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

connect message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
chiken
Member
Join Date: Jan 2006
Old 04-17-2020 , 12:18   connect message
Reply With Quote #1

hello i'm looking for a plugin thank you for your help


say player Name`` (STEAM_ID) has connected from country (Rank: ).
chiken is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 04-17-2020 , 13:44   Re: connect message
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=63507

https://forums.alliedmods.net/showthread.php?t=114524
alferd is offline
chiken
Member
Join Date: Jan 2006
Old 04-17-2020 , 14:03   Re: connect message
Reply With Quote #3

I'm looking for the plugin on the image



http://www.avjeux.org/rank.png

Last edited by chiken; 04-17-2020 at 14:04.
chiken is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-17-2020 , 14:32   Re: connect message
Reply With Quote #4

Code:
#include <amxmodx> #include <cromchat> #include <csstats> #include <geoip> #if !defined STATSX_MAX_STATS const STATSX_MAX_STATS = 8 const MAX_BODYHITS = 8 #endif #if !defined MAX_NAME_LENGTH const MAX_NAME_LENGTH = 32 #endif #if !defined MAX_IP_LENGTH     const MAX_IP_LENGTH = 16 #endif #if !defined MAX_AUTHID_LENGTH     const MAX_AUTHID_LENGTH = 64 #endif #if !defined geoip_country_ex     #define geoip_country_ex geoip_country #endif const Float:CONNECT_DELAY = 1.5 public plugin_init() {     register_plugin("Connect Info", "1.0", "OciXCrom") } public client_putinserver(id) {     if(!is_user_bot(id))     {         set_task(CONNECT_DELAY, "display_connect_message", id)     } } public display_connect_message(id) {     if(!is_user_connected(id))     {         return     }         new szName[MAX_NAME_LENGTH], szIP[MAX_IP_LENGTH], szAuthId[MAX_AUTHID_LENGTH]     new szCountry[MAX_NAME_LENGTH], iStats[STATSX_MAX_STATS], iHits[MAX_BODYHITS]     get_user_name(id, szName, charsmax(szName))     get_user_ip(id, szIP, charsmax(szIP), 1)     get_user_authid(id, szAuthId, charsmax(szAuthId))     geoip_country_ex(szIP, szCountry, charsmax(szCountry))     CC_SendMessage(0, "Player &x04%s &x01(&x03%s&x01) has connected from &x04%s &x01(Rank: &x03%i&x01)", szName, szAuthId, szCountry, get_user_stats(id, iStats, iHits)) }
__________________

Last edited by OciXCrom; 04-17-2020 at 15:23.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
chiken
Member
Join Date: Jan 2006
Old 04-17-2020 , 15:15   Re: connect message
Reply With Quote #5

thank you so much
chiken is offline
chiken
Member
Join Date: Jan 2006
Old 04-17-2020 , 15:17   Re: connect message
Reply With Quote #6

can we ignore the bot ?
chiken is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-17-2020 , 15:23   Re: connect message
Reply With Quote #7

Edited.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
chiken
Member
Join Date: Jan 2006
Old 04-17-2020 , 15:29   Re: connect message
Reply With Quote #8

thx
chiken 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 00:52.


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