Raised This Month: $ Target: $400
 0% 

Invisible and visible for player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
langgiong123
Junior Member
Join Date: Feb 2014
Old 07-27-2014 , 01:52   Invisible and visible for player
Reply With Quote #1

Hello.
I 've code this plugin for Terrorist : When they stand still, they will be invisible. When they move, they will be visible.
Here is the code :
Code:
if(cs_get_user_team(player1) == CS_TEAM_T)
	{
		if(get_user_maxspeed(player1) == 0)
		{
			set_user_rendering(player1,kRenderFxNone,0,0,0,kRenderTransAlpha,0) 
		}
		if(get_user_maxspeed(player1) > 1)
		{
			set_user_rendering(player1,kRenderFxNone,0,0,0,kRenderTransAlpha,50)
		}
But in game, player are always visible when they stand still
Can anyone help me
langgiong123 is offline
 



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 13:06.


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