AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_user_rendering wtf? (https://forums.alliedmods.net/showthread.php?t=241471)

!Morte 06-04-2014 03:44

set_user_rendering wtf?
 
I just can't make a player invisible, i don't fucking know what's the problem:

PHP Code:

set_user_renderingidkRenderFxNone000kRenderTransAlphaHERE_IS_THE_PROBLEM 

If i put 128 o higher number in the last parameter, the player it's transparent, and if i change the number for 127 or less, the player is completly invisible.

Why that problem? Maybe i have to check something like if the player is connected or alive, but really i can't solve this.

jimaway 06-04-2014 07:56

Re: set_user_rendering wtf?
 
Quote:

Originally Posted by !Morte (Post 2146545)
I just can't make a player invisible...

... and if i change the number for 127 or less, the player is completly invisible.

wat

Flick3rR 06-04-2014 08:57

Re: set_user_rendering wtf?
 
Maybe you just think so. I have no problems, it's working. That's the most nooby native, which using is so easy. :D

<VeCo> 06-04-2014 09:16

Re: set_user_rendering wtf?
 
Try with kRenderTransColor.

aron9forever 06-04-2014 11:35

Re: set_user_rendering wtf?
 
use fm_set_rendering
same way, just change set_user to fm_set

bibu 06-04-2014 12:42

Re: set_user_rendering wtf?
 
Quote:

Originally Posted by aron9forever (Post 2146703)
use fm_set_rendering
same way, just change set_user to fm_set

NEVER, but really never do that!

Fr33m@n 06-04-2014 13:01

Re: set_user_rendering wtf?
 
You should use kRenderFxGlowShell instead of kRenderFxNone

are you running in Software rather than OpenGL ?

.Dare Devil. 06-04-2014 13:28

Re: set_user_rendering wtf?
 
kRenderTransAdd or kRenderTransTexture are best for transparency

!Morte 06-04-2014 14:20

Re: set_user_rendering wtf?
 
I solved the problem, it was the model i was using. This make me angry because i was trying all the night making differents combinations of all fx and render it was possible, and i'm feel like a really noob -.-

aron9forever 06-04-2014 14:26

Re: set_user_rendering wtf?
 
Quote:

Originally Posted by bibu (Post 2146740)
NEVER, but really never do that!

why
I'm using it and it's just fine


All times are GMT -4. The time now is 23:47.

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