Raised This Month: $51 Target: $400
 12% 

Remove decals from world


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 09-12-2016 , 11:30   Remove decals from world
Reply With Quote #1

PHP Code:
stock blood_decal(playerorigin[])
{
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(TE_WORLDDECAL)
    
write_coord(origin[0])
    
write_coord(origin[1])
    
write_coord(origin[2])
    
write_byte(g_Sprite_BloodDecal[random(8)])
    
message_end()

This generates a blood decal every time it executes.
The problem is once it excutes many times the FPS starts to drop.

Is there any way to put a limit of decals? Or to remove them after X seconds?
Syturi0 is offline
Rirre
Veteran Member
Join Date: Nov 2006
Old 09-12-2016 , 15:40   Re: Remove decals from world
Reply With Quote #2

mp_decals in console (client-sided).
Rirre is offline
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 09-12-2016 , 15:49   Re: Remove decals from world
Reply With Quote #3

Quote:
Originally Posted by Rirre View Post
mp_decals in console (client-sided).
LOL

Iam so dumb... '-'

Thank you
Syturi0 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 16:10.


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