AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Scripting Problem (https://forums.alliedmods.net/showthread.php?t=109760)

Redfalcon 11-21-2009 08:07

Scripting Problem
 
Hello can somebody make a private plugin to me and give it with a PM plz

It's country connect plugin it will show like this:

**Your Name [STEAM ID] Has connected from Country**

Like **Redfalcon [STEAM_0:01234567] Has connected from Sweden**

Country name will be Yellow.
the name will be in green same as steam id and the [] will be yellow and the message "Has connected from Sweden" will be in Gray and the ** Yellow
Please make this one +karma!

AntiBots 11-21-2009 08:08

Re: Scripting Problem
 
That plugin already exist.

Mod: Change this to Request forum :D

Redfalcon 11-21-2009 08:11

Re: Scripting Problem
 
I Really need one! Private plugin send it with PM plz !

Arkshine 11-21-2009 08:54

Re: Scripting Problem
 
Did you look at the existents plugins ?

Redfalcon 11-21-2009 09:31

Re: Scripting Problem
 
That plugin don't have that i request.

AntiBots 11-21-2009 09:49

Re: Scripting Problem
 
Why you want private plugins? if you have exelent free plugins here!!!

ConnorMcLeod 11-21-2009 09:52

Re: Scripting Problem
 
15$ and i send it to you.

Redfalcon 11-21-2009 10:05

Re: Scripting Problem
 
Does exolent made a plugin like this?

Give me a link if he have.

Backstabnoob 11-21-2009 11:04

Re: Scripting Problem
 
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(idName31)
    
get_user_authid(idAuthid31)
    
get_user_ip(idIP20)
    
geoip_country (IPCountry45)
    
ColorChat(0GREY"^x01**^x04%s ^x01[^x04%s^x01] has connected from ^x01%s**"NameAuthidCountry)


Haven't tested, but should work.

matsi 11-21-2009 11:15

Re: Scripting Problem
 
Quote:

Originally Posted by Backstabnoob (Post 995018)
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(idName31)
    
get_user_authid(idAuthid31)
    
get_user_ip(idIP20)
    
geoip_country (IPCountry45)
    
ColorChat(0GREY"^x01**^x04%s ^x01[^x04%s^x01] has connected from ^x01%s**"NameAuthidCountry)


Haven't tested, but should work.

I'm not sure but i think its better to use client_authorized.


All times are GMT -4. The time now is 13:42.

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