Raised This Month: $ Target: $400
 0% 

Can you guys help me out?


Post New Thread Reply   
 
Thread Tools Display Modes
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
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 04-14-2005 , 16:50  
Reply With Quote #2

Code:
set_entity_visibility(id,0);

That tells the game not to even bother drawing the entity.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
strizerdragon
Junior Member
Join Date: Apr 2005
Old 04-15-2005 , 15:33   it doesnt show the new model.
Reply With Quote #3

it doesnt show the new model, can you give me a codesnip?
strizerdragon is offline
Send a message via MSN to strizerdragon Send a message via Yahoo to strizerdragon
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 09:59.


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