AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   50% invisible (https://forums.alliedmods.net/showthread.php?t=142679)

outsiderlv 11-08-2010 10:59

50% invisible
 
How can I make a person 50%invisible?

SaM.ThE.MaN 11-08-2010 11:30

Re: 50% invisible
 
There is magical function called search ... it is magical ... helps alot, i figured it out today

outsiderlv 11-08-2010 11:34

Re: 50% invisible
 
Thank you! :D Forgot about that search button while coding. xD
Btw, the code is:
PHP Code:

set_user_rendering(id,kRenderFxGlowShell,0,00,kRenderTransAlpha128); 


mottzi 11-08-2010 12:53

Re: 50% invisible
 
is 128 excactly 50%?

fysiks 11-08-2010 13:04

Re: 50% invisible
 
Quote:

Originally Posted by mottzi (Post 1345160)
is 128 excactly 50%?

I think it's actually 127 but it's negligible.

Exolent[jNr] 11-08-2010 13:05

Re: 50% invisible
 
Quote:

Originally Posted by mottzi (Post 1345160)
is 128 excactly 50%?

255/2 = 127.5

outsiderlv 11-08-2010 13:07

Re: 50% invisible
 
And if we make a int from 127.5 it is 128 :D

fysiks 11-08-2010 13:46

Re: 50% invisible
 
0 through 127 is 128 numbers.
128 through 255 is 128 numbers.

Therefore, 127 is half.

minimiller 11-08-2010 15:28

Re: 50% invisible
 
Quote:

Originally Posted by fysiks (Post 1345222)
0 through 127 is 128 numbers.
128 through 255 is 128 numbers.

Therefore, 127 is half.

but 0-255 (inclusive) is 256

fysiks 11-09-2010 00:13

Re: 50% invisible
 
Quote:

Originally Posted by minimiller (Post 1345300)
but 0-255 (inclusive) is 256

What's your point? That does not contradict my statement. 128 + 128 = 256 right?


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

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