AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   SpecInfo (https://forums.alliedmods.net/showthread.php?t=55943)

zmd94 11-09-2014 19:36

Re: SpecInfo
 
Just edit this part:
Code:

public set_hudmsg_flg_notify( )
{
    set_hudmessage(
        get_pcvar_num( p_red ),
        get_pcvar_num( p_grn ),
        get_pcvar_num( p_blu ),
        -1.0, /*x*/
        0.8, /*y*/

        0, /*fx*/
        0.0, /*fx time*/
        3.0, /*hold time*/
        0.0, /*fade in*/
        0.0, /*fade out*/
        -1 /*chan*/
    );
}


feifei 11-10-2014 02:13

Re: SpecInfo
 
Quote:

Originally Posted by zmd94 (Post 2222268)
Just edit this part:
Code:

public set_hudmsg_flg_notify( )
{
    set_hudmessage(
        get_pcvar_num( p_red ),
        get_pcvar_num( p_grn ),
        get_pcvar_num( p_blu ),
        -1.0, /*x*/
        0.8, /*y*/

        0, /*fx*/
        0.0, /*fx time*/
        3.0, /*hold time*/
        0.0, /*fade in*/
        0.0, /*fade out*/
        -1 /*chan*/
    );
}


what to do ??? what I will edit ?? give me code !!

zmd94 11-10-2014 02:17

Re: SpecInfo
 
Just edit the red words as it indicates the position of the hud message.

X is the position of x-axis while Y is the position of y-axis.

feifei 11-10-2014 03:36

Re: SpecInfo
 
Quote:

Originally Posted by zmd94 (Post 2222325)
Just edit the red words as it indicates the position of the hud message.

X is the position of x-axis while Y is the position of y-axis.

I want to set it in top right side.
and I have to change
-1.0,
0.8, right ??

<OFF TOPIC>
zmd come in steam chat. and please pm me about hire !!

shehzad1234 08-24-2018 09:50

Re: SpecInfo
 
i want to hide admins name in this plugin can someone help me please?

Snake. 08-31-2018 10:54

Re: SpecInfo
 
Quote:

Originally Posted by shehzad1234 (Post 2611976)
i want to hide admins name in this plugin can someone help me please?

Code:

public client_connect( id )
{
        cl_prefs[id] = 0;
        if( !is_user_bot( id ) )
        {
                if( get_pcvar_num( p_list_default ) ) cl_prefs[id] |= FL_LIST;
                if( get_pcvar_num( p_keys_default ) ) cl_prefs[id] |= FL_KEYS;
        }
        get_user_name( id, cl_names[id], 20 );
        return PLUGIN_CONTINUE;
}

>>>>>
Code:

public client_connect( id )
{
        cl_prefs[id] = 0;
        if( !is_user_bot( id ) )
        {
                if( get_pcvar_num( p_list_default ) ) cl_prefs[id] |= FL_LIST;
                if( get_pcvar_num( p_keys_default ) ) cl_prefs[id] |= FL_KEYS;
                if( get_pcvar_num( p_immunity ) ) cl_prefs[id] |= FL_HIDE;
        }
        get_user_name( id, cl_names[id], 20 );
        return PLUGIN_CONTINUE;
}


shehzad1234 08-31-2018 17:42

Re: SpecInfo
 
Quote:

Originally Posted by Snake. (Post 2613047)
Code:

public client_connect( id )
{
        cl_prefs[id] = 0;
        if( !is_user_bot( id ) )
        {
                if( get_pcvar_num( p_list_default ) ) cl_prefs[id] |= FL_LIST;
                if( get_pcvar_num( p_keys_default ) ) cl_prefs[id] |= FL_KEYS;
        }
        get_user_name( id, cl_names[id], 20 );
        return PLUGIN_CONTINUE;
}

>>>>>
Code:

public client_connect( id )
{
        cl_prefs[id] = 0;
        if( !is_user_bot( id ) )
        {
                if( get_pcvar_num( p_list_default ) ) cl_prefs[id] |= FL_LIST;
                if( get_pcvar_num( p_keys_default ) ) cl_prefs[id] |= FL_KEYS;
                if( get_pcvar_num( p_immunity ) ) cl_prefs[id] |= FL_HIDE;
        }
        get_user_name( id, cl_names[id], 20 );
        return PLUGIN_CONTINUE;
}


oh bro thanks!! :D <3 <3


All times are GMT -4. The time now is 09:24.

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