Raised This Month: $ Target: $400
 0% 

request transparency plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Happy_2015
Junior Member
Join Date: Jun 2015
Old 06-27-2015 , 16:22   request transparency plugin
Reply With Quote #1

hi guys
i need transparency plugin only , for all players with transparency amount cvar
i search so much, there only semiclip with transparency with no amount cvar
hope someone can make the plugin for me .
Happy_2015 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-27-2015 , 16:43   Re: request transparency plugin
Reply With Quote #2

Well I found one that does, search in the Module Coding forum.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Happy_2015
Junior Member
Join Date: Jun 2015
Old 06-27-2015 , 18:33   Re: request transparency plugin
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
Well I found one that does, search in the Module Coding forum.
if u mean this one:
https://forums.alliedmods.net/showthread.php?t=250891
its very bad you have to give all teams semiclip if u want transparency to work
for evryone, also transparency amount make no difference normal (255)
And the rest have same amount of transparency.
Happy_2015 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 06-27-2015 , 20:01   Re: request transparency plugin
Reply With Quote #4

Actually it's not the one I was talking about, the one I was referring to was written by claudiuhks.
Explain exactly what it is you want or what you're trying to do.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 06-27-2015 at 23:37.
wickedd is offline
Happy_2015
Junior Member
Join Date: Jun 2015
Old 06-28-2015 , 11:09   Re: request transparency plugin
Reply With Quote #5

i just want to set transparency or invisibility on all players
with amount cvar thats all , i don't want semiclip

Last edited by Happy_2015; 06-28-2015 at 11:19.
Happy_2015 is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 06-28-2015 , 23:41   Re: request transparency plugin
Reply With Quote #6

it does all thing what you want
https://forums.alliedmods.net/showthread.php?t=137980

Last edited by indraraj striker; 06-28-2015 at 23:42.
indraraj striker is offline
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 06-29-2015 , 01:06   Re: request transparency plugin
Reply With Quote #7

Cvar change takes effects after new round.

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fun>

#define PLUGIN "Invis"
#define VERSION "1.0"
#define AUTHOR "GUG"

new g_CVAR_Percentg_iPercent

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHam(Ham_Spawn"player""eSpawn"1)
    
register_event("HLTV""eNewRound""a""1=0""2=0")  
    
    
g_CVAR_Percent register_cvar("invis_percent""30")
}

public 
eNewRound() g_iPercent clamp(get_pcvar_num(g_CVAR_Percent), 0100)

public 
eSpawn(id)
    if (
is_user_alive(id)) set_user_rendering(idkRenderFxNone000kRenderTransAlphag_iPercent 255 100

Last edited by Kz1.0; 06-29-2015 at 01:07.
Kz1.0 is offline
Happy_2015
Junior Member
Join Date: Jun 2015
Old 06-29-2015 , 16:12   Re: request transparency plugin
Reply With Quote #8

Quote:
Originally Posted by Kz1.0 View Post
Cvar change takes effects after new round.

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fun>

#define PLUGIN "Invis"
#define VERSION "1.0"
#define AUTHOR "GUG"

new g_CVAR_Percentg_iPercent

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHam(Ham_Spawn"player""eSpawn"1)
    
register_event("HLTV""eNewRound""a""1=0""2=0")  
    
    
g_CVAR_Percent register_cvar("invis_percent""30")
}

public 
eNewRound() g_iPercent clamp(get_pcvar_num(g_CVAR_Percent), 0100)

public 
eSpawn(id)
    if (
is_user_alive(id)) set_user_rendering(idkRenderFxNone000kRenderTransAlphag_iPercent 255 100
Thank you bro
tested and work.
Happy_2015 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 12:38.


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