Raised This Month: $ Target: $400
 0% 

set_user_rendering


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
izzle
Senior Member
Join Date: Aug 2009
Old 11-17-2009 , 17:39   set_user_rendering
Reply With Quote #1

I want the terrorists to be invisible so I use set_user_rendering but after the freezetime is over they go back to normal
__________________
izzle is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 11-17-2009 , 19:12   Re: set_user_rendering
Reply With Quote #2

You could just use a task with a timer set to get_pcvar_float(mp_freezetime) + 0.1 or something similar.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
buklaokid
Member
Join Date: Jun 2008
Old 11-18-2009 , 00:58   Re: set_user_rendering
Reply With Quote #3

This is how to start of making them invisible, I don't know what you mean by freezetime. Is it you have a freezetime and they are invisible then after the freezetime is over, they go back to normal? Or every round.

PHP Code:
set_user_rendering(idkRenderFxGlowShell000kRenderTransAlpha0
buklaokid is offline
izzle
Senior Member
Join Date: Aug 2009
Old 11-18-2009 , 07:07   Re: set_user_rendering
Reply With Quote #4

I know how to make them invisible, its after the freezetime is over that they go back to normal.
__________________
izzle is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 11-18-2009 , 07:11   Re: set_user_rendering
Reply With Quote #5

hook freezetime end and set it on them again
__________________
minimiller is offline
Send a message via MSN to minimiller
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 11-18-2009 , 07:12   Re: set_user_rendering
Reply With Quote #6

Quote:
Originally Posted by izzle View Post
I know how to make them invisible, its after the freezetime is over that they go back to normal.
PHP Code:
//Init
         
register_logevent("cmdRoundStart",2,"1=Round_Start")

//Function
public cmdRoundStart(id) {

         
set_user_rendering(id


#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
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 22:07.


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