Raised This Month: $ Target: $400
 0% 

SpecInfo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 05-30-2014 , 10:24   Re: SpecInfo
Reply With Quote #1

Code:
new g_fFramesPerSecond[33]; public client_putinserver(id)     set_task(1.0, "reset_counter", _, _, "b") public client_disconnect(id)     remove_task(id) public client_prethink(id)     g_fFramesPerSecond[id] += 1.0 public reset_counter(id) {     client_print(id, print_center, "Client FPS: %.1f", g_fFramesPerSecond[id])     g_fFramesPerSecond[id] = 0.0; }

You get the idea...
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Syturio
BANNED
Join Date: Jul 2014
Location: Under your bed.
Old 07-19-2014 , 15:21   Re: SpecInfo
Reply With Quote #2

Can someone give me ethe code to remove "(x) Spectating:" and "Spect Info v1" please
Syturio is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 11-09-2014 , 15:04   Re: SpecInfo
Reply With Quote #3

It's showing middle on the screen. how to move all HUDs in right side ??
__________________
MaTriX is my life
Visit Here ;) For ZP MODs
feifei is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-09-2014 , 19:36   Re: SpecInfo
Reply With Quote #4

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*/
    );
}
zmd94 is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 11-10-2014 , 02:13   Re: SpecInfo
Reply With Quote #5

Quote:
Originally Posted by zmd94 View Post
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 !!
__________________
MaTriX is my life
Visit Here ;) For ZP MODs
feifei is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-10-2014 , 02:17   Re: SpecInfo
Reply With Quote #6

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.

Last edited by zmd94; 11-10-2014 at 02:19.
zmd94 is offline
feifei
Senior Member
Join Date: Sep 2014
Location: India
Old 11-10-2014 , 03:36   Re: SpecInfo
Reply With Quote #7

Quote:
Originally Posted by zmd94 View Post
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 !!
__________________
MaTriX is my life
Visit Here ;) For ZP MODs

Last edited by feifei; 11-10-2014 at 03:40.
feifei is offline
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 08-24-2018 , 09:50   Re: SpecInfo
Reply With Quote #8

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

Last edited by shehzad1234; 08-24-2018 at 09:51. Reason: edited
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
Snake.
Senior Member
Join Date: Jul 2017
Old 08-31-2018 , 10:54   Re: SpecInfo
Reply With Quote #9

Quote:
Originally Posted by shehzad1234 View Post
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;
}
Snake. is offline
Send a message via Skype™ to Snake.
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 08-31-2018 , 17:42   Re: SpecInfo
Reply With Quote #10

Quote:
Originally Posted by Snake. View Post
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!! <3 <3
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
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 09:24.


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