Raised This Month: $ Target: $400
 0% 

Keep fake lights there permanently


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 05-31-2007 , 11:35   Keep fake lights there permanently
Reply With Quote #1

Here's the function I'm using for this:

Code:
public spawn_light(r,g,b,bright,radius,x,y,z) {     new origin[3]     origin[0] = x     origin[1] = y     origin[2] = z         message_begin(MSG_BROADCAST,SVC_TEMPENTITY,origin)         write_byte(TE_DLIGHT);     write_coord(x);     write_coord(y);     write_coord(z);     write_byte(radius);     write_byte(r);     write_byte(g);     write_byte(b);     write_byte(bright);     write_byte(0);         message_end(); }

Only problem, it doesn't stay very long. Any other things to to add/edit in order to keep it in a spot permanently? Thanks.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
 



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 10:33.


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