AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   csdm.dll (https://forums.alliedmods.net/showthread.php?t=121303)

Pneumatic 03-14-2010 07:21

csdm.dll
 
With what program can open dll* fail's? Bec i want change that advertisement:

http://u.stats.lt/i/2010/03/13/182126_fghfg.JPG

hleV 03-14-2010 07:24

Re: csdm.dll
 
There's a function to disable this message. Search.

lazarev 03-14-2010 07:25

Re: csdm.dll
 
you cant open fails.

Pneumatic 03-14-2010 07:28

Re: csdm.dll
 
Quote:

Originally Posted by hleV (Post 1116985)
There's a function to disable this message. Search.

In others csdm.sma fails?

hleV 03-14-2010 07:38

Re: csdm.dll
 
PHP Code:

//Disables the CSDM welcome message
//This is useful if you only use CSDM as an engine
//Returns the old value. Pass -1 to do nothing.
native csdm_set_intromsg(value=-1); 


Pneumatic 03-14-2010 08:34

Re: csdm.dll
 
In wich fail?

Arkshine 03-14-2010 08:38

Re: csdm.dll
 
call csdm_set_intromsg() in a plugin you want.

Pneumatic 03-14-2010 08:44

Re: csdm.dll
 
yea i find in csdm.inc . Now how disable that message?

//Disables the CSDM welcome message
//This is useful if you only use CSDM as an engine
//Returns the old value. Pass -1 to do nothing.
native csdm_set_intromsg(value=-1);

master4life 03-14-2010 09:01

Re: csdm.dll
 
PHP Code:

public plugin_init( )
{
 
csdm_set_intromsg);


EDIT: Im using this Plugin for Change IntroMsg.

PHP Code:

#include < amxmodx >
#include < csdm >

#define WELCOMEMSG_1    "[CSDM] This server is using CSDM, Have fun!"
#define WELCOMEMSG_2    "[CSDM] Visit www.bailopan.net!"

public plugin_init( ) csdm_set_intromsg);
public 
client_putinserverid set_task15.0"WelcomeMsg"id );

public 
WelcomeMsgid ) {
    if( 
is_user_connectedid ) ) {
        
client_printidprint_chat"%s"WELCOMEMSG_1 );
        
client_printidprint_chat"%s"WELCOMEMSG_2 );
    }



Pneumatic 03-14-2010 09:41

Re: csdm.dll
 
Quote:

Originally Posted by master4life (Post 1117036)
PHP Code:

public plugin_init( )
{
 
csdm_set_intromsg);


EDIT: Im using this Plugin for Change IntroMsg.

PHP Code:

#include < amxmodx >
#include < csdm >

#define WELCOMEMSG_1    "[CSDM] This server is using CSDM, Have fun!"
#define WELCOMEMSG_2    "[CSDM] Visit www.bailopan.net!"

public plugin_init( ) csdm_set_intromsg);
public 
client_putinserverid set_task15.0"WelcomeMsg"id );

public 
WelcomeMsgid ) {
    if( 
is_user_connectedid ) ) {
        
client_printidprint_chat"%s"WELCOMEMSG_1 );
        
client_printidprint_chat"%s"WELCOMEMSG_2 );
    }



In wich fail i must edit that?


All times are GMT -4. The time now is 08:38.

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