Raised This Month: $32 Target: $400
 8% 

Geo-Language - V1.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Condition-Zero        Category:   Server Management       
mogel
Senior Member
Join Date: Jan 2007
Old 08-17-2007 , 21:13   Geo-Language - V1.2.1
Reply With Quote #1

Hi,

this plugin simply adds a three character country code between playername and chat-message
  • the cvar gl_3chars is used to change from 3 char country-code to a 2 char-country code ... set it to 0 for 2 char country-code
hand, mogel
Attached Thumbnails
Click image for larger version

Name:	de_airstrip_cz0000.jpg
Views:	470
Size:	50.6 KB
ID:	19222  
Attached Files
File Type: sma Get Plugin or Get Source (geolanguage.sma - 904 views - 1.1 KB)
__________________

Last edited by mogel; 08-21-2007 at 12:58. Reason: change to 0.1.2.1
mogel is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-17-2007 , 21:24   Re: Geo-Language
Reply With Quote #2

This doesn't work for TFC.

Quote:
L 08/17/2007 - 21:24:52: Invalid message argument 4
L 08/17/2007 - 21:24:52: [AMXX] Displaying debug trace (plugin "geolanguage.amxx")
L 08/17/2007 - 21:24:52: [AMXX] Run time error 10: native error (native "get_msg_arg_string")
L 08/17/2007 - 21:24:52: [AMXX] [0] 19221.attach::Event_SayText (line 32)
M249-M4A1 is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 08-18-2007 , 15:54   Re: Geo-Language
Reply With Quote #3

Quote:
Modification: Condition-Zero
__________________
Mod:
User:
BlackMilk is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-18-2007 , 20:12   Re: Geo-Language
Reply With Quote #4

Quote:
Originally Posted by BlackMilk View Post
[/COLOR][/COLOR]
He originally wrote "This plugin should work for all modifications" so he edited it after he saw it wasn't so.
M249-M4A1 is offline
mogel
Senior Member
Join Date: Jan 2007
Old 08-19-2007 , 02:24   Re: Geo-Language
Reply With Quote #5

sorry forgot the edit-reason
__________________
mogel is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 08-19-2007 , 02:30   Re: Geo-Language
Reply With Quote #6

You should add a cvar to turn it on/off
Also I'd like a cvar to show two char country code
__________________
I am 52% addicted to Counterstrike. What about you?
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 08-19-2007 , 11:34   Re: Geo-Language
Reply With Quote #7

If it works, it should work for all mods. It doesn't have any mod specific includes.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
mogel
Senior Member
Join Date: Jan 2007
Old 08-19-2007 , 13:06   Re: Geo-Language
Reply With Quote #8

Quote:
Originally Posted by Toster v2.1 View Post
You should add a cvar to turn it on/off
plugins pause and a comment in plugin.ini do the same ^^

Quote:
Also I'd like a cvar to show two char country code
[x] added


Quote:
Originally Posted by Pro Patria Finland
If it works, it should work for all mods. It doesn't have any mod specific includes.
it is posible that the messages are different between the mod's

hand, mogel
__________________
mogel is offline
ThunderBlizzard
Member
Join Date: Jun 2007
Old 08-20-2007 , 15:15   Re: Geo-Language
Reply With Quote #9

sorry if i got this right, there is already a plugin which is able to do this and it has another feature switching the lanuage for amxx clientside. just read it, it is already approved so i dont think this one here will be.

http://forums.alliedmods.net/showthread.php?t=6220
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 08-24-2007 , 12:53   Re: Geo-Language - V1.2.1
Reply With Quote #10

Quote:
plugins pause and a comment in plugin.ini do the same ^^
Cvars are much simpler and should definitely be used.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Reply


Thread Tools
Display Modes

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 20:27.


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