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

AMX Lang Chat 1.08! - 04/04/10


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
Giaaan de St
Member
Join Date: Mar 2010
Old 03-06-2010 , 15:02   AMX Lang Chat 1.08! - 04/04/10
Reply With Quote #1



Current Version:
1.08

By GiaaanDST!


Description: This plugin puts a prefix of what ML are you using in the say & say_team chat.

Includes:


PHP Code:
#include <amxmodx> 
Images:
Cvars:
Quote:
amx_lang_chat "1" // Enable/Disable Plugin.
ChangeLog:
Quote:
1.0: First public release
1.01: Added for Team Say
1.02:
Fixed print messages
1.03:
Dont bug admin say
1.04: Optimization of the code, Added switchs for check team in a better way
1.05: Added ML
1.06:
Optimized code, Added more ML freatures
1.07: Updated code
1.08: Print messages appear in console.
ML:
Quote:
[EN] // Giaaan de St
[ES]
// Giaaan de St
[BG]
// papyrus_kn
[NL] // crazyeffect
[LS] // wrecked_
[RU] // fR4gn0tiX!
[SV] // kanatzu
[TR] // xD_1991
[LT] // Kukulis :*
[DE]
// sunx
Thanks To:
Attached Files
File Type: sma Get Plugin or Get Source (LangChat.sma - 2165 views - 6.4 KB)
File Type: txt amx_lang_chat.txt (790 Bytes, 969 views)
__________________
[IMG]http://img256.**************/img256/6489/gsu2.jpg[/IMG]

Last edited by Giaaan de St; 04-06-2010 at 22:40.
Giaaan de St is offline
fR4gn0tiX!
Senior Member
Join Date: Nov 2009
Location: Georgia, Tbilisi
Old 03-06-2010 , 15:11   Re: AMX Lang Chat 1.0
Reply With Quote #2

You are checking only "say". What about "say_team" ?
__________________
fR4gn0tiX! is offline
Send a message via Skype™ to fR4gn0tiX!
Giaaan de St
Member
Join Date: Mar 2010
Old 03-06-2010 , 15:14   Re: AMX Lang Chat 1.0
Reply With Quote #3

Quote:
Originally Posted by fR4gn0tiX! View Post
You are checking only "say". What about "say_team" ?
Doing that right now ;)
__________________
[IMG]http://img256.**************/img256/6489/gsu2.jpg[/IMG]

Last edited by Giaaan de St; 03-06-2010 at 15:37.
Giaaan de St is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 03-06-2010 , 15:23   Re: AMX Lang Chat 1.0
Reply With Quote #4

  1. This is going to do several bugs
  2. Lots of mistakes
  3. I see some credits on your code (not me)
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-06-2010 , 15:29   Re: AMX Lang Chat 1.0
Reply With Quote #5

PHP Code:
if(is_user_alive(id))
        {
            
format(message191"^x03 %s^x01: %s"name,  message)
            
ColorChat(0message)
        }
        else
        {
            
format(message191"^x01*DEAD*^x03 %s^x01: %s"name,  message)
            
ColorChat(0message)
        } 

PHP Code:
format(message191"^x01%s^x03 %s^x01: %s"is_user_aliveid ) ? "" "*DEAD*"name,  message)
ColorChat(0message
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Giaaan de St
Member
Join Date: Mar 2010
Old 03-06-2010 , 15:30   Re: AMX Lang Chat 1.0
Reply With Quote #6

Quote:
Originally Posted by fR4gn0tiX! View Post
You are checking only "say". What about "say_team" ?
Fixed on ver. 1.01
__________________
[IMG]http://img256.**************/img256/6489/gsu2.jpg[/IMG]
Giaaan de St is offline
Giaaan de St
Member
Join Date: Mar 2010
Old 03-06-2010 , 15:36   Re: AMX Lang Chat 1.02
Reply With Quote #7

Quote:
Originally Posted by wrecked_ View Post
PHP Code:
if(is_user_alive(id))
        {
            
format(message191"^x03 %s^x01: %s"name,  message)
            
ColorChat(0message)
        }
        else
        {
            
format(message191"^x01*DEAD*^x03 %s^x01: %s"name,  message)
            
ColorChat(0message)
        } 

PHP Code:
format(message191"^x01%s^x03 %s^x01: %s"is_user_aliveid ) ? "" "*DEAD*"name,  message)
ColorChat(0message
Thanks!, Updated to 1.02!
__________________
[IMG]http://img256.**************/img256/6489/gsu2.jpg[/IMG]
Giaaan de St is offline
Giaaan de St
Member
Join Date: Mar 2010
Old 03-06-2010 , 16:06   Re: AMX Lang Chat 1.03
Reply With Quote #8

Updated to 1.03!, See ChangeLog!
__________________
[IMG]http://img256.**************/img256/6489/gsu2.jpg[/IMG]
Giaaan de St is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 03-06-2010 , 16:38   Re: AMX Lang Chat 1.03!
Reply With Quote #9

PHP Code:
 if(get_pcvar_float(amx_lang_chat)) 
the get_pcvar_float is used when the cvar is a number with coma .

btw , user get_pcvar_num.

Credits
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-06-2010 , 17:10   Re: AMX Lang Chat 1.03!
Reply With Quote #10

I really love this plugin

What about ML for this plugin?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
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 19:34.


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