Raised This Month: $ Target: $400
 0% 

[SOLVED] edit fog


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Andu.
Member
Join Date: Oct 2013
Location: Belgravistan
Old 10-09-2015 , 15:21   Re: [Request] edit fog
Reply With Quote #2

Is better to use this stock
PHP Code:
stock CreateFog ( const index 0, const red 127, const green 127, const blue 127, const Float:density_f 0.001bool:clear false )
{
    static 
msgFog;
    
    if ( 
msgFog || ( msgFog get_user_msgid"Fog" ) ) )
    {
        new 
density _:floatclampdensity_f0.00010.25 ) * _:!clear;
        
        
message_beginindex MSG_ONE_UNRELIABLE MSG_BROADCASTmsgFog, .player index );
        
write_byteclampred  0255 ) );
        
write_byteclampgreen0255 ) );
        
write_byteclampblue 0255 ) );
        
write_long_:density );
        
message_end();
    }

Andu. 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 22:18.


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