Raised This Month: $ Target: $400
 0% 

client_print position


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lolkie02
Junior Member
Join Date: Aug 2018
Old 08-07-2018 , 02:30   Re: client_print position
Reply With Quote #1

I tried this, but it still don't wanna move down
Code:
/*----------------------------------------------------------------------------------------------------------------
-HUD OF THE GAME
----------------------------------------------------------------------------------------------------------------*/
public hud_status(id)
{
	if(!is_user_alive(id) ||  !is_user_connected(id) )
	return;
	if(level[id] >= maxlevels)
	{
		// static r, g, b; r = random_num(0, 255), g = random_num(0, 255), b = random_num(0, 255);
		// set_hudmessage(r, g, b, 0.80, -1.0, 0, 1.0, 1.1, 0.0, 0.0, -1)
		client_print(id, print_center, "^n^n^n^n^n^n^n^n[DeAth-MaNns] Auszeichnungen: [Level: %d/%d] und (XP: %d/%d)", level[id], maxlevels, xp[id], xp[id])
	}
	else
	{
		// set_hudmessage(255, 255, 255, 0.80, -1.0, 0, 1.0, 1.1, 0.0, 0.0, -1)
		client_print(id, print_center, "^n^n^n^n^n^n^n^n[DeAth-MaNns] Auszeichnungen: [Level: %d/%d] und (XP: %d/%d)", level[id], maxlevels, xp[id], xp_num[level[id]])
	}
}
lolkie02 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-07-2018 , 08:35   Re: client_print position
Reply With Quote #2

My bad. It's ^r, not ^n.
__________________

Last edited by OciXCrom; 08-07-2018 at 08:39.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-07-2018 , 10:50   Re: client_print position
Reply With Quote #3

maybe send some messages in mp_playerid and adjust with hud_centerind on client.

But send ^r shoud be fine with client_print (if not, try with engine client_print)
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
lolkie02
Junior Member
Join Date: Aug 2018
Old 08-10-2018 , 05:27   Re: client_print position
Reply With Quote #4

It worked with ^r, thanks OciXCrom
lolkie02 is offline
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 12:49.


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