Jump to content
Followers 0
CoSmiN

[PLUGIN] Join Country

Recommended Posts


Descriere: Acest jucator printeaza in chat de unde se conecteaza jucatorul.
Download:

#include < sourcemod >
#include < geoip >

#pragma tabsize 0

public Plugin:myinfo = 
{
    name = "Join Message",
    author = "LondoN eXtream",
    description = "Arata tara de unde se conecteaza",
    version = "0.1",
    url = "http://www.extreamcs.com/forum"
};

public OnClientPutInServer(Player)
{
    new String:szName[32], String:szIP[32], String:szCountry[32];
    
    GetClientName(Player, szName, sizeof(szName));
    GetClientIP(Player, szIP, sizeof(szIP), true);
    GeoipCountry(szIP, szCountry, sizeof(szCountry));
    
    PrintToChatAll("\x04[eXtreamCS.Com]\x03 Player\x04 %s\x03 joined from [\x04%s\x03]", szName, StrEqual(szCountry, "error") ? "N/A": szCountry);
}

[/sursa]

Sunt incepator ?
[/quote]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Followers 0
HAPPYHALLOWEEN PUBZONE
  • FFA.FRAGS.RO [CS2]

    Server FFA.PUBZONE.RO [CS2] DM | FFA WarmupServer

|

Theme Made by Zayon & Cyber Designs

×
×
  • Create New...