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

Country name - player-


Post New Thread Reply   
 
Thread Tools Display Modes
Freaky frank
Member
Join Date: Jul 2004
Location: Belgium
Old 08-01-2004 , 09:15  
Reply With Quote #11

Will it work on 0.16 amxx ?
Freaky frank is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-01-2004 , 09:15  
Reply With Quote #12

omg how noob am i, i put the geoip.inc in include recompiled and voila...


countrynames_back.amx by JGHG
Attached Files
File Type: amx countrynames_back.amx (878 Bytes, 307 views)
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
Freaky frank
Member
Join Date: Jul 2004
Location: Belgium
Old 08-01-2004 , 09:19  
Reply With Quote #13

i read this : NOTE: This is for AMXx 0.20 because it uses the new API. Unless you're using amxx_mm.dll from CVS or you have a beta copy, it will not work for you.
Freaky frank is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-01-2004 , 09:21  
Reply With Quote #14

dude just take the one i posted place in
addons/amxx/plugins
then open
addons/amxx/plugins.ini
and type in
countrynames_back.amx
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
Freaky frank
Member
Join Date: Jul 2004
Location: Belgium
Old 08-01-2004 , 09:26  
Reply With Quote #15

[ 37] unknown unknown unknown countrynames_ba bad load
?

i did amxx list and get this error
Freaky frank is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-01-2004 , 09:51  
Reply With Quote #16

shit....

geoip.inc goes in scripting/include
geoip.dat goes in addons/amxx
what about
geoip_amxx.dll goes were addons/amxx/dlls? it is there and still bad load
does it need to be in meta as well
and if geoip is placed correctly everywere what is the use of
countrynames_back.amx?
geoip is obviously needed for the country codes...
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-01-2004 , 10:18  
Reply With Quote #17

ok im having a real bad day could somebody answer this pls?
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
ldzheng
Junior Member
Join Date: Aug 2004
Old 08-07-2004 , 04:53  
Reply With Quote #18

I used it but when i test it, my name became to Nikcname[err][err]err][err][!!!
Why???Could anybody tell me why??(I already have used the geoip module)
ldzheng is offline
zwooz
Junior Member
Join Date: Jun 2004
Location: Sweden
Old 09-27-2004 , 09:01  
Reply With Quote #19

i also got that, err means error?
zwooz is offline
eisbein
Senior Member
Join Date: Aug 2004
Location: Germany/Rendsburg
Old 09-27-2004 , 13:17  
Reply With Quote #20

O.K. I give you an example
The Error come from IP

The same is also country-kick or or or !! Only I do not like this Plugin!!

Code:
// Example of eisbein for AMX Mod X 0.20 #include <amxmodx> #include <geoip> new playerip[17], country[4], stra[4], strb[33] public plugin_init() {    register_plugin("CountryNames","0.0","ST4life")    return PLUGIN_CONTINUE } public client_infochanged(id) {    if (is_user_connected(id)){       new newname[33]       get_user_info(id,"name",newname,32)       check_name(id,newname)    }    return PLUGIN_CONTINUE }  public check_name(id,username[]) {    get_user_ip(id, playerip, 16, 1)    if(geoip_code3(playerip,country)){       format(stra,4,"[%s]",country)       if (contain(username,stra) == -1){          geoip_code3(playerip,country) //         format(strb,32,"%s[%s]",username,country)          format(strb,32,"[%s]%s",country,username)          set_user_info(id,"name",strb)       }    }    return PLUGIN_CONTINUE }
__________________
eisbein is offline
Send a message via ICQ to eisbein
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 07:21.


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