Raised This Month: $ Target: $400
 0% 

Entity light


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarkGL
Senior Member
Join Date: Aug 2010
Location: Warsaw, Poland
Old 07-16-2011 , 16:51   Re: Entity light
Reply With Quote #1

Code:
message_begin(MSG_PVS, SVC_TEMPENTITY, origin, 0);
	write_byte(TE_DLIGHT);
	engfunc(EngFunc_WriteCoord,fOrigin[0])
	engfunc(EngFunc_WriteCoord,fOrigin[1])
	engfunc(EngFunc_WriteCoord,fOrigin[2])
	write_byte(3); //radius
	write_byte(255);  //red 
	write_byte(255); //green
	write_byte(255); //blue
	write_byte(5);
	write_byte(1);
	message_end();
DarkGL is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-16-2011 , 16:53   Re: Entity light
Reply With Quote #2

ELIGHT not DLIGHT.
__________________
Hunter-Digital is offline
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 00:53.


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