Перейти к содержимому
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.

iSnipe Search and Destroy Issue

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

Hi, I've been working on an iSnipe mod for my server for awhile now and I'm curious as to how I can go about fixing the fact that in the beginning of each round, when the countdown starts, you can move around. When normally, you're supposed to be stuck to where you spawn and cannot move, look around, etc. Until the count down finishes.

 

Anyone have any ideas?

 

Thanks,

 

BoomShotKapow

Featured Replies

Опубликовано:
  • Автор
There is a self freezeControls( false ); somewhere where it shouln't be probably.

 

Could you post the .iwd here?

 

I'll check my mod, hold on.

 

If I cannot figure it out, I will.

 

Edit: So I went through my whole mod.

 

Look at this:

 

getRemoteName()
{
assert( self isUsingRemote() );

return self.usingRemote;	
}

freezeControlsWrapper( frozen )
{
if ( isDefined( level.hostMigrationTimer ) )
{
	self freezeControls( true );
	return;
}

self freezeControls( frozen );
}


clearUsingRemote()
{
//if ( !isWeaponEnabled() )
//	self disableWeapons();

if ( isDefined( self.carryIcon) )
	self.carryIcon.alpha = 1;

self.usingRemote = undefined;
self _enableOffhandWeapons();

curWeapon = self getCurrentWeapon();

if( curWeapon == "none" || isKillstreakWeapon( curWeapon ) )
	self switchToWeapon( self Getlastweapon() );

self freezeControlsWrapper( false );

self notify( "stopped_using_remote" );
}

 

Any ideas?

Опубликовано:
BoomShot":18tzfqmx]
There is a self freezeControls( false ); somewhere where it shouln't be probably.

 

Could you post the .iwd here?

 

I'll check my mod, hold on.

 

If I cannot figure it out, I will.

 

Edit: So I went through my whole mod.

 

Look at this:

 

-dat code-

 

Uhm, ok i should have been more clear. There are some other forms of freezeControls( false );.

It's not in the code you posted above, as it's just exactly the same as in stock _utility.gsc.

 

There could be a freezeControlsWrapper( false ) somewhere which causes it, or even just a freezeControlsWrapper( true ) which the modder removed.

You could compare the files to the stock ones with notepad++'s compare functionality.

 

Or pm me the mod and i'll have a look.

Опубликовано:
  • Автор
BoomShot":1b8gvrvd]
There is a self freezeControls( false ); somewhere where it shouln't be probably.

Uhm, ok i should have been more clear. There are some other forms of freezeControls( false );.

It's not in the code you posted above, as it's just exactly the same as in stock _utility.gsc.

 

There could be a freezeControlsWrapper( false ) somewhere which causes it, or even just a freezeControlsWrapper( true ) which the modder removed.

You could compare the files to the stock ones with notepad++'s compare functionality.

 

Or pm me the mod and i'll have a look.

 

I managed to fix it by deleting the _playerlogic.gsc

 

Thanks for your help though.

Join the conversation

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

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

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

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

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

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

Account

Navigation

Поиск

Поиск

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.