AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_hudmessage(); alpha1 usage? (https://forums.alliedmods.net/showthread.php?t=335998)

kww 01-20-2022 01:14

set_hudmessage(); alpha1 usage?
 
Hi! As of some pretty recent (?) update we have an alpha channel in set_hudmessage() so i want to know how to use alpha1
PHP Code:

// from amxmodx.inc:
set_hudmessage(red 200green 100blue 0Float:= -1.0Float:0.35,
    
effects 0Float:fxtime 6.0Float:holdtime 12.0Float:fadeintime 0.1Float:fadeouttime 0.2,
    
channel = -1alpha1 0color2[4] = {2552552500}); 


OciXCrom 01-20-2022 09:08

Re: set_hudmessage(); alpha1 usage?
 
What is your question exactly?

Code:
set_hudmessage(.alpha1 = 255)

kww 01-20-2022 09:50

Re: set_hudmessage(); alpha1 usage?
 
Quote:

Originally Posted by OciXCrom (Post 2768890)
What is your question exactly?

Code:
set_hudmessage(.alpha1 = 255)

255 is completely transparent, yes?

Natsheh 01-20-2022 09:56

Re: set_hudmessage(); alpha1 usage?
 
Alpha1 i think its for hudmessages with style 1 which is glowing


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

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