 |
|
Thinkosaur
|

11-21-2009
, 11:15
Re: Scripting Problem
|
#10
|
Quote:
Originally Posted by Backstabnoob
PHP Code:
#include <amxmodx>
#include <colorchat>
#include <geoip>
public plugin_init() {
register_plugin("connecting info", "1.0", "you")
}
public client_connect(id)
{
new Name[32], Authid[32], Country[46], IP[21]
get_user_name(id, Name, 31)
get_user_authid(id, Authid, 31)
get_user_ip(id, IP, 20)
geoip_country (IP, Country, 45)
ColorChat(0, GREY, "^x01**^x04%s ^x01[^x04%s^x01] has connected from ^x01%s**", Name, Authid, Country)
}
Haven't tested, but should work.
|
I'm not sure but i think its better to use client_authorized.
|
|
|
|