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

Rendering Invisible


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DayuDayu
New Member
Join Date: Feb 2024
Old 02-22-2024 , 08:47   Rendering Invisible
Reply With Quote #1

Hey, I wanted to set in my roulette for case 10 the option to draw less visibility of the model for the player, is such a function enough?

PHP Code:
set_user_rendering(idkRenderFxNone000kRenderTransAlpha0.5); 

Last edited by DayuDayu; 02-22-2024 at 08:52.
DayuDayu is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-24-2024 , 22:14   Re: Rendering Invisible
Reply With Quote #2

That should work. I used the same in my aimbot detection plugin to make a bot invisible. Though, I had the last parameter at 0.
__________________
Bugsy is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 02-25-2024 , 05:22   Re: Rendering Invisible
Reply With Quote #3

You can either use transadd or transalpha, but they are different. I would recommend you to test to see what’s the one you are looking for exactly.
__________________
Jhob94 is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 02-25-2024 , 19:58   Re: Rendering Invisible
Reply With Quote #4

engine method:

Rant:
invisible


PHP Code:
    entity_set_int(entEV_INT_rendermodekRenderTransAlpha)
    
entity_set_float(entEV_FL_renderamt0.0
Rant:
visible


PHP Code:
    entity_set_int(entEV_INT_rendermodekRenderNormal)
    
entity_set_float(entEV_FL_renderamt255.0
__________________
mlibre 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 14:53.


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