Raised This Month: $ Target: $400
 0% 

Create Grenade Black Hole Decal


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HENNESSY
Member
Join Date: Sep 2013
Location: Russian Federation, Bela
Old 10-11-2014 , 18:04   Re: Create Grenade Black Hole Decal
Reply With Quote #1

Quote:
Originally Posted by usaexelent View Post
PHP Code:
    new decalnum[4] = 
    {
        
7,
        
8,
        
26,
        
27
    
}
    
    
message_begin(MSG_BROADCAST ,SVC_TEMPENTITY//message begin
    
write_byte(TE_WORLDDECAL)

    
engfunc(EngFunc_WriteCoord,origin[0] + random_float(0.0,5.0))
    
engfunc(EngFunc_WriteCoord,origin[1] + random_float(0.0,5.0))
    
engfunc(EngFunc_WriteCoord,origin[2] + random_float(0.0,5.0))
    
write_byte(decalnum[random(sizeof decalnum)]) // texture index of precached decal texture name
    
message_end() 
Thank you bro!
HENNESSY 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 17:34.


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