Raised This Month: $ Target: $400
 0% 

Set_User_Rendering Issue


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

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