Raised This Month: $ Target: $400
 0% 

csdm joyn msg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-05-2009 , 09:24   csdm joyn msg
Reply With Quote #1

Hi, i use csdm the latest version on my server.
I need to translate this [CSDM] This server is using CSDM 1.2.1
[CSDM] Visit www.bailopan.net

in this


[CSDM] Acest server foloseste CSDM 1.2.1
[CSDM] Viziteaza www.bailopan.net


how can i change it.. all my chat messages and hud in my server are in romanian... and i need to translate this :-/
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-05-2009 , 09:30   Re: csdm joyn msg
Reply With Quote #2

as i know this msg are in csdm.dll
try to block that msg(example in csdm nomalizer)
and do your own
__________________
xPaw is offline
zwfgdlc
Senior Member
Join Date: May 2006
Old 01-05-2009 , 10:05   Re: csdm joyn msg
Reply With Quote #3

try this
PHP Code:
public csdm_CfgInit()
{
    
csdm_set_intromsg(0);    

zwfgdlc is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-05-2009 , 10:14   Re: csdm joyn msg
Reply With Quote #4

it works thx man... thanks both

EDIT: if i cant edit that message i disable it >
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 01-05-2009 , 10:19   Re: csdm joyn msg
Reply With Quote #5

Ofc you can just make additional plugin, where you just set_task in init and make say function(With the romanian message). Though you could just add it to some other plugin you use in your server. Ofc after deleting the english one.
Edit: Yes, exactly what xPaw said (didn't notice), well you got an example for it anyway.

Last edited by SnoW; 01-05-2009 at 10:23.
SnoW is offline
Send a message via MSN to SnoW
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-05-2009 , 10:19   Re: csdm joyn msg
Reply With Quote #6

and after it do your own ;)
__________________
xPaw is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-05-2009 , 11:41   Re: csdm joyn msg
Reply With Quote #7

allready done ;)


PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <csdm>

#define PLUGIN "CSDM Remove Message"
#define VERSION "1.0"
#define AUTHOR "unnasigned :))"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}
public 
csdm_CfgInit()
{
    
csdm_set_intromsg(0);    
}
public 
client_putinserver(id)
{
    
set_task(10.0"msg"id);
}
public 
msg(id)
{
    
client_print(idprint_chat"[CSDM] Acest server foloseste CS: Death-Match");
    
client_print(idprint_chat"[CSDM] Viziteaza www.bailopan.net");

__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-05-2009 , 12:17   Re: csdm joyn msg
Reply With Quote #8

yea add check for is_user connected, sure he can be disconnected while this 10 seconds
__________________
xPaw is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 01-05-2009 , 12:26   Re: csdm joyn msg
Reply With Quote #9

Ofcourse, and the message is set after the player joins a team, so you code is not very efficient.
Use TeamInfo.
__________________

anakin_cstrike is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-05-2009 , 12:49   Re: csdm joyn msg
Reply With Quote #10

i just wanted for my server.. for me works fine nothing imp.
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
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 09:07.


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