Raised This Month: $ Target: $400
 0% 

Set_User_Rendering Issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 06-06-2010 , 18:38   Set_User_Rendering Issue
Reply With Quote #1

Alright so here we go (If you know what your doing this should make sense)

PHP Code:
RegisterHamHam_Spawn"player""player_spawned"
PHP Code:
public player_spawnediPlayer )
{
    if( 
is_user_aliveiPlayer ) && cs_get_user_teamiPlayer ) == CS_TEAM_T )
    {
        new 
cid 2
        
new color 2
        print_color
iPlayercidcolor"^x04[NightCrawlers] ^x01You are a ^x04NightCrawler!" )
        
print_coloriPlayercidcolor"^x04[NightCrawlers] ^x01If you are killed, you will be switched to a ^x04human!" )
        
set_user_footstepsiPlayer)
        
set_user_renderingiPlayerkRenderFxNone255255255kRenderTransAlpha)
        
set_user_armoriPlayerget_pcvar_numncarmor ) )
        
set_user_healthiPlayerget_pcvar_numnchealth ) )
        
set_user_gravityiPlayer0.6 )
        
strip_user_weaponsiPlayer )
        
give_itemiPlayer"weapon_knife" )
    }
    if( 
is_user_aliveiPlayer ) && cs_get_user_teamiPlayer ) == CS_TEAM_CT)
    {
        
set_user_footstepsiPlayer);
        new 
cid 2
        
new color 2
        print_color
iPlayercidcolor"^x04[NightCrawlers] ^x01You are a ^x04Human!" )
        
print_coloriPlayercidcolor"^x04[NightCrawlers] ^x01Kill a ^x04NightCrawler ^x01to switch places with them!" )
        
set_user_armoriPlayerget_pcvar_numhumanarmor ) )
    }

Only part that isn't working:

PHP Code:
set_user_renderingiPlayerkRenderFxNone255255255kRenderTransAlpha
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 06-06-2010 , 18:44   Re: Set_User_Rendering Issue
Reply With Quote #2

i'm not sure, but i think it is kRenderFxNone as seconds parameter.
Try with kRenderFxGlowShell or something
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 06-06-2010 , 19:00   Re: Set_User_Rendering Issue
Reply With Quote #3

Quote:
Originally Posted by drekes View Post
i'm not sure, but i think it is kRenderFxNone as seconds parameter.
Try with kRenderFxGlowShell or something
It was working fine before. I don't know what could have corrupted it.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 06-06-2010 , 19:06   Re: Set_User_Rendering Issue
Reply With Quote #4

set it to some random rendering mode, renderfxnone = do nothing IIRC, so just make him glow with RGB of 0, 0, 0 so its unnoticed.. that should work.
__________________
+|- KARMA Respectively


Last edited by HLM; 06-06-2010 at 19:09.
HLM is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 06-06-2010 , 19:09   Re: Set_User_Rendering Issue
Reply With Quote #5

I suggest if what HLM doesn't work then try using what drekes said.
__________________
Hi.
Kreation 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 05:17.


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