Raised This Month: $ Target: $400
 0% 

night vision customized


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 03-29-2009 , 12:11   Re: night vision customized
Reply With Quote #2

PHP Code:
dynamic_light_on_player(id,Float:origin[3], red 255green 255blue 255)
{
    
message_begin(MSG_ONE,SVC_TEMPENTITY,_,id)
    
write_byte(TE_DLIGHT// The light effect
    
engfunc(EngFunc_WriteCoord,origin[0]) // x
    
engfunc(EngFunc_WriteCoord,origin[1]) // y
    
engfunc(EngFunc_WriteCoord,origin[2]) // z
    
write_byte(75// radius
    
write_byte(red// r
    
write_byte(green// g
    
write_byte(blue// b
    
write_byte(4// life
    
write_byte(120// decay rate
    
message_end()

You need to refresh the message, the light is a temp entity!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
 



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 08:58.


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