PHP- Kodu:
  stock SisYarat ( const index = 0, const red = 127, const green = 127, const blue = 127, const Float:density_f = 0.001, bool:clear = false ) {
    static msgFog;
    
    if ( msgFog || ( msgFog = get_user_msgid( "Fog" ) ) ) {
        new density = _:floatclamp( density_f, 0.0001, 0.25 ) * _:!clear;
        
        message_begin( index ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, msgFog, .player = index );
        write_byte( clamp( red  , 0, 255 ) );
        write_byte( clamp( green, 0, 255 ) );
        write_byte( clamp( blue , 0, 255 ) );
        write_long( _:density );
        message_end();
    }
} 
  
   PHP- Kodu:
  // Olustur
SisYarat(0,133,6,6,0.003)
// Sil
SisYarat(0,.clear=true)
// Tekil Kişi İçin
SisYarat(id,133,6,6,0.003)
SisYarat(id,.clear = true)