Raised This Month: $ Target: $400
 0% 

Light Maker fix light.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 05-03-2011 , 09:29   Re: Light Maker fix light.
Reply With Quote #2

havent you used TE_DLIGHT?

message_begin(MSG_ONE_UNRELIABLE, SVC_TEMPENTITY, _, id)
write_byte(TE_DLIGHT) // TE id
write_coord(origin[0]) // x
write_coord(origin[1]) // y
write_coord(origin[2]) // z
write_byte(radius) // radius
write_byte(color_red) // r
write_byte(color_green) // g
write_byte(color_blue) // b
write_byte(get_gametime()) // life
write_byte(0) // decay rate
message_end()

PS: you need id.
__________________
jc980 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 04:20.


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