AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CSGO] PrintHintTextToAll centered!! (https://forums.alliedmods.net/showthread.php?t=313674)

Dr.Mohammad 01-18-2019 07:35

[CSGO] PrintHintTextToAll centered!!
 
hi guys!!

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

PHP Code:

void PrintHintTextToAll(const char[] formatany... ...) 


Cruze 01-18-2019 08:03

Re: [CSGO] PrintHintTextToAll centered!!
 
<center>?

Dr.Mohammad 01-18-2019 13:51

Re: [CSGO] PrintHintTextToAll centered!!
 
Quote:

Originally Posted by Cruze (Post 2635294)
<center>?

i tested but dont work!!!
this cod:
PHP Code:

PrintHintTextToAll("<center> Centered Text!! </center>"

please help!!

impossible_cc 01-18-2019 14:06

Re: [CSGO] PrintHintTextToAll centered!!
 
Quote:

Originally Posted by Dr.Mohammad (Post 2635348)
i tested but dont work!!!
this cod:
PHP Code:

PrintHintTextToAll("<center> Centered Text!! </center>"

please help!!


https://sm.alliedmods.net/new-api/ha...tCenterTextAll

Dr.Mohammad 01-18-2019 14:54

Re: [CSGO] PrintHintTextToAll centered!!
 
Quote:

Originally Posted by impossible_cc (Post 2635354)

this not work:
PHP Code:

PrintCenterTextAll("<center> Centred Text </center>"


impossible_cc 01-18-2019 16:40

Re: [CSGO] PrintHintTextToAll centered!!
 
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

Dr.Mohammad 01-18-2019 23:05

Re: [CSGO] PrintHintTextToAll centered!!
 
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 :(

TonyBaretta 01-19-2019 01:40

Re: [CSGO] PrintHintTextToAll centered!!
 
Quote:

PrintCenterText(i,"<font color='#FFA500' size='20'>Boss: %N</font>\n<font color='#ff0000' size='20'>HP \"%d\"</font> ", BossPlayer, currentHealth);

Dr.Mohammad 01-19-2019 04:55

Re: [CSGO] PrintHintTextToAll centered!!
 
How can I put the text in the middle with (/n)???

TonyBaretta 01-19-2019 14:00

Re: [CSGO] PrintHintTextToAll centered!!
 
first is \n and not /n

look my example.....


All times are GMT -4. The time now is 19:11.

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