Raised This Month: $ Target: $400
 0% 

[HELP] The correct way to use TE_ELIGHT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Starman
Junior Member
Join Date: Dec 2013
Old 06-16-2014 , 21:36   [HELP] The correct way to use TE_ELIGHT
Reply With Quote #1

Well, as the title says, I just checked in the library "message_const.inc" by the use of the temporary entity, the truth is that I want to make perfectly under what conditions I use it, and how to make that entity is permanent (or lasting a very long time, as a function of working life [every 0.1 to be specific]), so I would like to leave me aware the information, thanks.

Here would be the code that I draw from this library:

PHP Code:
#define TE_ELIGHT                   28       // Point entity light, no world effect
// write_byte(TE_ELIGHT)
// write_short(entity:attachment to follow)
// write_coord(position.x)
// write_coord(position.y)
// write_coord(position.z)
// write_coord(radius)
// write_byte(red)
// write_byte(green)
// write_byte(blue)
// write_byte(life in 0.1's)
// write_coord(decay rate) 
Starman 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 21:07.


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