Raised This Month: $ Target: $400
 0% 

Changing transparency


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 10-10-2009 , 18:17   Changing transparency
Reply With Quote #1

Is there a way to change a persons transparency? I was thinking something like set_player_transparency, but that doesnt work.
__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-10-2009 , 18:18   Re: Changing transparency
Reply With Quote #2

set_user_rendering() I guess.
__________________

Last edited by Arkshine; 10-10-2009 at 18:22.
Arkshine is offline
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 10-10-2009 , 18:28   Re: Changing transparency
Reply With Quote #3

Like :
PHP Code:
set_user_rendering(idkRenderFxGlowShell000kRenderTransAlpha, (90)) 
And 90 is the invis?
__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-10-2009 , 18:29   Re: Changing transparency
Reply With Quote #4

Try ?
__________________
Arkshine is offline
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-10-2009 , 18:32   Re: Changing transparency
Reply With Quote #5

If you'll excuse me on this one, Arkshine, it is a bit tough for beginners to know the degree of transparency (because it uses a byte-sized implementation which is kinda low level for beginners).

@ Thread: 0 is fully transparent, 255 is opaque.
vitorrd is offline
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 10-10-2009 , 18:34   Re: Changing transparency
Reply With Quote #6

Thanks, it compiles, now to see if it shows in my server

@ vittord, thanks for trying to help, but Im and image editor, so I knew.

+Karma to both of you
__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-10-2009 , 18:35   Re: Changing transparency
Reply With Quote #7

It's the scripting section, it doesn't hurt to test in-game. Also it has been asked numerous times, so he should have search before. So, sorry but I don't feel like to paste the exact code with a full explanation in this case. He must have the habit to test otherwise he will never learn.
__________________
Arkshine is offline
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 10-10-2009 , 18:36   Re: Changing transparency
Reply With Quote #8

I did, but I didnt see anything, sorry, I'll search harder next time.
__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel is offline
vitorrd
Senior Member
Join Date: Jul 2009
Old 10-10-2009 , 20:05   Re: Changing transparency
Reply With Quote #9

Oh, sorry then. What was the result?
vitorrd is offline
OneMoreLevel
Senior Member
Join Date: Aug 2009
Location: Look behind you... Very
Old 10-11-2009 , 00:20   Re: Changing transparency
Reply With Quote #10

I haven't tested it on my server yet, but I made a PCVAR for it, and it compiles.
__________________
60/100 60%
[||||||||||||||||||||]
Project: Warfighter mod
Blog:
http://sites.google.com/site/dailymultitasker/
PHP Code:
   if ( i_help_you "Yes" ) == )
    
set_user_karma(onemorelevel,add,+1
OneMoreLevel 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 22:41.


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