Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:

hi all

i want some codes to add them on my promod server

*unlimited breath for sniper

*activing scr_teambalance... with a command(!balance) on snd mod

*disabling sound while walking and aiming

thx

Опубликовано:

1) look how its done in gsc

2) do it using infinityscript

Опубликовано:
  • Автор

i tried this for unlimited breath but it doesnt work

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InfinityScript;

namespace breath
{
   public class breath : BaseScript
   {
       public breath()
           : base()
       {
           PlayerConnected += new Action(entity =>
           {
               entity.SpawnedPlayer += new Action(() =>
               {
                   entity.Call("setClientDvar", "player_breath_hold_time", 999);

               });
           });
       }
   }
}

Опубликовано:

for disable balance

Utilities.ExecuteCommand("scr_teambalance 0");

 

i don't know whats your mean with disable sound but i think your mean is Dead Silence perk and you can use this for enable perk

player.SetPerk("specialty_quieter", true, false);

i think

Опубликовано:

*unlimited breath for sniper

thx

 

Note sure if these dvars are existing in IW5M but you could try to force:

	setDvar( "player_breath_fire_delay", "0" );
setDvar( "player_breath_gasp_lerp", "0" );
setDvar( "player_breath_gasp_scale", "0.0" );
setDvar( "player_breath_gasp_time", "0" );
setDvar( "player_breath_snd_delay", "0" );
setDvar( "perk_extraBreath", "0" );
setDvar( "perk_improvedextraBreath", "0" );

through your mod and see if it gives you no-sway.

Опубликовано:
  • Автор

TRIED THIS AND STEEL DONT WORK

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InfinityScript;

namespace BREATH
{
   public class BREATH : BaseScript
   {
       public BREATH()
           : base()
       {
           PlayerConnected += new Action(entity =>
           {
               entity.SpawnedPlayer += new Action(() =>
               {
                   entity.Call("setDvar", "player_breath_gasp_scale", "0.0");
                   entity.Call("setDvar", "player_breath_gasp_lerp", "0");
                   entity.Call("setDvar", "player_breath_gasp_scale", "0.0");
                   entity.Call("setDvar", "player_breath_gasp_time", "0");
                   entity.Call("setDvar", "player_breath_snd_delay", "0");
                   entity.Call("setDvar", "perk_extraBreath", "0");
                   entity.Call("setDvar", "perk_improvedextraBreath", "0");

               });
           });
       }
   }
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.