Raised This Month: $ Target: $400
 0% 

How to make a circle?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
didoWEE
Senior Member
Join Date: Oct 2012
Location: Bulgaria
Old 05-03-2013 , 07:08   Re: How to make a circle?
Reply With Quote #2

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()


Last edited by didoWEE; 05-03-2013 at 07:09.
didoWEE 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