AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity Visible (https://forums.alliedmods.net/showthread.php?t=144382)

nnajko 12-03-2010 02:12

Entity Visible
 
How do I check if a entity is a bit transparent?

Exolent[jNr] 12-03-2010 02:20

Re: Entity Visible
 
Check render mode and render amount.

nnajko 12-03-2010 02:30

Re: Entity Visible
 
Quote:

Originally Posted by Exolent[jNr] (Post 1361897)
Check render mode and render amount.

And I may use these?
PHP Code:

pev(entpev_rendermode)
pev(entpev_renderamt

Or something else?

Exolent[jNr] 12-03-2010 02:34

Re: Entity Visible
 
Yes, but remember renderamt is a float, so to get the float you need to pass a variable by-ref.

nnajko 12-03-2010 02:35

Re: Entity Visible
 
Quote:

Originally Posted by Exolent[jNr] (Post 1361901)
Yes, but remember renderamt is a float, so to get the float you need to pass a variable by-ref.

I will try, thanks for the help


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

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