Raised This Month: $ Target: $400
 0% 

ML, how to?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-18-2013 , 16:07   ML, how to?
Reply With Quote #1

How to do ML this?
PHP Code:
client_cmd(id"echo ^"[HPKSorry but you have high ping, try later...^"; disconnect"
Is this correct?
PHP Code:
client_cmd(id"%L""HPK_USER_HIGH_PING"

Last edited by Unkolix; 02-18-2013 at 16:15.
Unkolix is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-18-2013 , 16:28   Re: ML, how to?
Reply With Quote #2

No, only think to translate is :

[HPK] Sorry but you have high ping, try later...


Let's show us how you register the translation file and its content.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-18-2013 , 16:44   Re: ML, how to?
Reply With Quote #3

PHP Code:
register_dictionary_colored"hpk.txt" ); 
Code:
[en]
HPK_USER_HIGH_PING = echo ^"!r[HPK]!n Sorry but you have high ping, try later...^"; disconnect
HPK_ALL_HIGH_PING = !r[HPK]!t %s!n was disconnected due to high ping!
HPK_DISABLED = !r[HPK]!n Ping checking disabled due to immunity...
HPK_MAX_PING = !r[HPK]!n Players with ping higher than !t%dms!n will be kicked!
P.S. Compiles fine.

Btw, will this work with this?
PHP Code:
server_cmd("%L""AFK_WERE_KICKED"get_user_userid(id), maxafktime
Or
PHP Code:
log_message("%L"id"LOADED_WORDS"g_swearsNum 

Last edited by Unkolix; 02-18-2013 at 17:54.
Unkolix is offline
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 21:43.


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