Raised This Month: $ Target: $400
 0% 

HUD message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 08:05   HUD message
Reply With Quote #1

Can any1 tell me what exactly do we use the hold time for ?

and how can i chage the effects ?

Also where can i edit the duration ? becasue if i set it duration = 6s and hold = 5s the message last only a little.

And what are channels ?
__________________
You will find everything u need :-
Catastrophe is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 11:18   Re: HUD message
Reply With Quote #2

Do need sm help over, sorry for double post but i wanna update smthing, necessary.
__________________
You will find everything u need :-
Catastrophe is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-08-2013 , 11:22   Re: HUD message
Reply With Quote #3

Here the code of the set_hudmessage function in AMXX SourceCodes:
Code:
static cell AMX_NATIVE_CALL set_hudmessage(AMX *amx, cell *params) /* 11 param */ {     g_hudset.a1 = 0;     g_hudset.a2 = 0;     g_hudset.r2 = 255;     g_hudset.g2 = 255;     g_hudset.b2 = 250;     g_hudset.r1 = static_cast<byte>(params[1]);     g_hudset.g1 = static_cast<byte>(params[2]);     g_hudset.b1 = static_cast<byte>(params[3]);     g_hudset.x = amx_ctof(params[4]);     g_hudset.y = amx_ctof(params[5]);     g_hudset.effect = params[6];     g_hudset.fxTime = amx_ctof(params[7]);     g_hudset.holdTime = amx_ctof(params[8]);     g_hudset.fadeinTime = amx_ctof(params[9]);     g_hudset.fadeoutTime = amx_ctof(params[10]);     g_hudset.channel = params[11];         return 1; }
TheDS1337 is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 11:27   Re: HUD message
Reply With Quote #4

Thanks , kind of u.

but i need to know the meaning y we use it , and seeing this code lol, i get more confused
__________________
You will find everything u need :-
Catastrophe is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-08-2013 , 11:32   Re: HUD message
Reply With Quote #5

Hold time for duration
TheDS1337 is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-08-2013 , 11:36   Re: HUD message
Reply With Quote #6

then wht's duration for ?
i mean wht is fxtime for ?
__________________
You will find everything u need :-

Last edited by Catastrophe; 06-08-2013 at 11:37.
Catastrophe is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-08-2013 , 11:40   Re: HUD message
Reply With Quote #7

depends in effects ...
TheDS1337 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 15:08.


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