Raised This Month: $ Target: $400
 0% 

[SOLVED] edit fog


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
arvEL.
Senior Member
Join Date: Dec 2014
Location: Iraq
Old 10-09-2015 , 15:53   Re: [Request] edit fog
Reply With Quote #1

Quote:
Originally Posted by Andu. View Post
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();
    }

done! thx bro
for more information about use this stock

https://forums.alliedmods.net/showpo...0&postcount=13

Last edited by arvEL.; 10-09-2015 at 16:08.
arvEL. is offline
Send a message via Skype™ to arvEL.
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 22:18.


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