Raised This Month: $ Target: $400
 0% 

How to make a circle?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 05-03-2013 , 08:21   Re: How to make a circle?
Reply With Quote #3

Quote:
Originally Posted by didoWEE View Post
PHP Code:
circle(idvec1[3], spriteColor[3], distance)
{    
   
message_begin(MSG_BROADCASTSVC_TEMPENTITYvec1)    
   
write_byte(TE_BEAMCYLINDER)   
   
write_coord(vec1[0])   
   
write_coord(vec1[1])   
   
write_coord(vec1[2])   
   
write_coord(vec1[0])  
   
write_coord(vec1[1])   
   
write_coord(vec1[2] + distance)   
   
write_shortsprite )    
   
write_byte// startframe 
   
write_byte// framerate   
   
write_byte11 // life    
   
write_byte16 // width   
   
write_byte// noise    
   
write_byteColor[0] ) // r    
   
write_byteColor[1]) // g    
   
write_byteColor[2] ) // b    
   
write_byte255 //brightness     
   
write_byte// speed   
   
message_end()

also a life is an distance.

Last edited by .Dare Devil.; 05-03-2013 at 08:21.
.Dare Devil. 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 10:54.


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