Cookies


Vsroplus only uses the cookies it needs to keep you signed in and remember your language. No ads, no tracking.

Got it

Need to learn more? Privacy policy

Our guides are in English for now.

Movement Restriction

You will need to obtain the World ID and Region ID for the area where you want to apply the restriction. To do that, move your character to the desired location, then use the following query to retrieve the required values.

SELECT SpawnWorldID, SpawnRegionID FROM _OnlinePlayers WHERE CharName16 = 'character_name'

Stored Procedure: _Command_MovementRestriction

Parameters:

  • @WorldID SMALLINT - Target world ID
  • @RegionID SMALLINT - Target region ID
  • @Allow BIT - Allow or restrict movement
  • @ToggleAfter INT - Timer in milliseconds
    Used to toggle the movement restriction state (allow/disallow) after a specified time.

Let us first test whether the command works by using the following code, which will restrict movement in the Jangan town area for 2 minutes.

USE [vPlus]
GO
EXEC _Command_MovementRestriction 1, 25000, 0, 120000;

Last updated: 10 December, 2023

An error has occurred. This application may no longer respond until reloaded. Reload 🗙