Raised This Month: $ Target: $400
 0% 

Can you guys help me out?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
strizerdragon
Junior Member
Join Date: Apr 2005
Old 04-14-2005 , 14:59   Can you guys help me out?
Reply With Quote #1

I want to make the player invisible so you dont see 2 models in 1 .
i used set_user_rendering(id,kRenderFxGlowShell,0,0, 0,kRenderTransAlpha,id)
But if you move or attack , you are not invisible any more . My friend said that i had to make a code that makes you invisible if you attacked or moved. Can you guys show me how to do that ?
Thx.


Code:
                 playerOption[id] = 1      user_kill(id,0)      set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,id)                    set_user_health( id, 200 )                  give_item(id, "weapon_bigbang")                  give_item(id, "weapon_finalflash")                  give_item(id, "weapon_gallitgun")                  give_item(id, "weapon_finishingbuster")                  give_item(id, "weapon_kamehameha")                  give_item(id, "weapon_burningattack")        new player_avatar = create_entity( "env_model" );          entity_set_int( player_avatar, EV_INT_movetype, MOVETYPE_FOLLOW );      entity_set_edict( player_avatar, EV_ENT_aiment, id );          entity_set_model(  player_avatar, "models/player/uub/uub.mdl" );
strizerdragon is offline
Send a message via MSN to strizerdragon Send a message via Yahoo to strizerdragon
 


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 09:59.


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