Raised This Month: $51 Target: $400
 12% 

Solved diffrence between set_hudmessage and set_dhudmessage?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zkfpk6
Member
Join Date: Sep 2017
Old 09-19-2017 , 02:58   diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #1

hello guys i'm from China so my english is not so good, dont mind

i want to ask few questions, please help me.
1.what the diffrence between set_hudmessage and set_dhudmessage? i know that dhudmessage means "DIRECTOR Hud Message", but i cant understand...i only know moive DIRECTOR, sorry for that.
2.i check the amxx api doc, what can i do if i want display two and more diffrence hud message at the same time?
3.i want to operate a string which contain Chinese words, i try to use containi and replace, but both not work(really not my code problem), what should i do?

thannnnnnks a lot if u can help, i really search these questions but not find any useful information

还有就是这个论坛有中国人吗?
btw is there any Chinese?

Last edited by zkfpk6; 09-30-2017 at 02:03. Reason: correct wrong spelling
zkfpk6 is offline
TheSpaniard
Senior Member
Join Date: Jul 2017
Location: Hell
Old 09-19-2017 , 04:12   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #2

See this Thread for more info on DHUD
DHUD BY ARKSHINE
__________________
And I Am Back.
TheSpaniard is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 09-19-2017 , 22:12   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #3

set_dhudmessage is a bigger font and set_hudmessage is the a smaller font
nothing else
sorry for my bad english
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
TheSpaniard
Senior Member
Join Date: Jul 2017
Location: Hell
Old 09-20-2017 , 03:49   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #4

我不知道.

自己搜索.

P.S. I am not chinese but i know it a little.
__________________
And I Am Back.
TheSpaniard is offline
TheSpaniard
Senior Member
Join Date: Jul 2017
Location: Hell
Old 09-20-2017 , 07:01   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #5

Quote:
Originally Posted by soumyadip77 View Post
set_dhudmessage is a bigger font and set_hudmessage is the a smaller font
nothing else
sorry for my bad english
This is the major difference but there are many subtle differences in hud and dhud
__________________
And I Am Back.
TheSpaniard is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-20-2017 , 12:04   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #6

I don't really know all of em but here's some
regular huds are the small messages you're used to from forever ago
dhuds are the larger text that you would see in the game tips, messages such as "you have spotted an enemy" or "you have the bomb", the text is larger

you can have a maximum of 4 huds at the same time on screen
you can have a maximum of 8 dhuds at the same time on screen
maximum dhud length is 128 chars, I'm not sure of regular hud

If you need to show permanent HUDs then you need to choose static channels for them and keep displaying them on the same channel. If you only show them once, then you can use -1 for channel which will select next available channel automatically.
If you write a hud to a used channel, the old one will be overwritten (you can write a hud every 1 second to channel 2 and it will update immediately even if holdtime is 5 seconds)
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
zkfpk6
Member
Join Date: Sep 2017
Old 09-29-2017 , 04:52   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #7

Quote:
Originally Posted by aron9forever View Post
I don't really know all of em but here's some
regular huds are the small messages you're used to from forever ago
dhuds are the larger text that you would see in the game tips, messages such as "you have spotted an enemy" or "you have the bomb", the text is larger

you can have a maximum of 4 huds at the same time on screen
you can have a maximum of 8 dhuds at the same time on screen
maximum dhud length is 128 chars, I'm not sure of regular hud

If you need to show permanent HUDs then you need to choose static channels for them and keep displaying them on the same channel. If you only show them once, then you can use -1 for channel which will select next available channel automatically.
If you write a hud to a used channel, the old one will be overwritten (you can write a hud every 1 second to channel 2 and it will update immediately even if holdtime is 5 seconds)
thanks a lot buddy, i understand.
im an ios developer, so i really think amxx language is toooooo complex for me.is more like c i feel.
zkfpk6 is offline
zkfpk6
Member
Join Date: Sep 2017
Old 09-29-2017 , 04:55   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #8

Quote:
Originally Posted by TheSpaniard View Post
我不知道.

自己搜索.

P.S. I am not chinese but i know it a little.
u translate it with google translator? it's correctly translation.
zkfpk6 is offline
TheSpaniard
Senior Member
Join Date: Jul 2017
Location: Hell
Old 09-29-2017 , 04:58   Re: diffrence between set_hudmessage and set_dhudmessage?
Reply With Quote #9

Quote:
Originally Posted by TheSpaniard View Post
我不知道.

自己搜索.

P.S. I am not chinese but i know it a little.
Quote:
Originally Posted by zkfpk6 View Post
thanks a lot buddy, i understand.
im an ios developer, so i really think amxx language is toooooo complex for me.is more like c i feel.
Quote:
Originally Posted by zkfpk6 View Post
u translate it with google translator? it's correctly translation.
No i didn't use google translator but i am learning chinese so i have a book i translated it from the book.

EDIT: Getting a bit offtopic here. Change to solved.
__________________
And I Am Back.

Last edited by TheSpaniard; 09-29-2017 at 05:08.
TheSpaniard 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 18:41.


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