Raised This Month: $301 Target: $400
 75% 

[CSGO] PrintHintTextToAll centered!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 01-18-2019 , 07:35   [CSGO] PrintHintTextToAll centered!!
Reply With Quote #1

hi guys!!

how i can centered PrintHintTextToAll??
i used <center> ago but this now not work

PHP Code:
void PrintHintTextToAll(const char[] formatany... ...) 

Last edited by Dr.Mohammad; 01-18-2019 at 13:49.
Dr.Mohammad is offline
Cruze
Veteran Member
Join Date: May 2017
Old 01-18-2019 , 08:03   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #2

<center>?
__________________
Taking paid private requests! Add me on steam/discord!
AlliedModders Releases | Github | Private Plugins | PayPal | Steam | My Discord Server
Cruze is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 01-18-2019 , 13:51   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #3

Quote:
Originally Posted by Cruze View Post
<center>?
i tested but dont work!!!
this cod:
PHP Code:
PrintHintTextToAll("<center> Centered Text!! </center>"
please help!!
Dr.Mohammad is offline
impossible_cc
Senior Member
Join Date: Sep 2018
Location: Ukraine
Old 01-18-2019 , 14:06   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #4

Quote:
Originally Posted by Dr.Mohammad View Post
i tested but dont work!!!
this cod:
PHP Code:
PrintHintTextToAll("<center> Centered Text!! </center>"
please help!!

https://sm.alliedmods.net/new-api/ha...tCenterTextAll
impossible_cc is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 01-18-2019 , 14:54   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #5

Quote:
Originally Posted by impossible_cc View Post
this not work:
PHP Code:
PrintCenterTextAll("<center> Centred Text </center>"
Dr.Mohammad is offline
impossible_cc
Senior Member
Join Date: Sep 2018
Location: Ukraine
Old 01-18-2019 , 16:40   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #6

I do not really understand what are you trying to do. Can you like make a screenshot from another server of what you want to get, or try to explain more.
Also I had never seen such tags like <center> </center> in sourcepawn
impossible_cc is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 01-18-2019 , 23:05   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #7

when i use PrintHintTextToAll or PrintCenterTextAll without new line (\n), text auto centered!!
example:
PHP Code:
PrintCenterTextAll("Helo Word"//Auto Centered!!
PrintHintTextToAll("Hello Word"//Auto Centered!! 
But, I use PrintHintTextToAll or PrintCenterTextAll with a new line (\n), text do not center !!
i used <center> tag but dont work!!
And
What tags does it work?

I can not Change Font size after panorama update!!
please help me

Last edited by Dr.Mohammad; 01-21-2019 at 04:39.
Dr.Mohammad is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 01-19-2019 , 01:40   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #8

Quote:
PrintCenterText(i,"<font color='#FFA500' size='20'>Boss: %N</font>\n<font color='#ff0000' size='20'>HP \"%d\"</font> ", BossPlayer, currentHealth);
__________________
TonyBaretta is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 01-19-2019 , 04:55   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #9

How can I put the text in the middle with (/n)???
Dr.Mohammad is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 01-19-2019 , 14:00   Re: [CSGO] PrintHintTextToAll centered!!
Reply With Quote #10

first is \n and not /n

look my example.....
__________________
TonyBaretta is offline
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 08:57.


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