[Standalone / ESX] No jump in interiors


Hello everybody
hope you all have a great day!

This is a small script for all of you that want to disable player jumping or running in interiors (like in police department, medical center and …)
i didn’t see any script like this being released, so here we go!

you can set a default option to disable either or both of them :
default_values

you can set any player character to be able to jump/run (or vice versa) in interiors

if you are using ESX (or ExM) , you can also make exceptions for any job (and also every single interior) if you want
exclude_jobs

you can get the interior info (in your Fivem F8 console) by a configurable command in your config.lua
intid

int_info

Video :
https://streamable.com/jn5ebm
(click here if video not working)

installation : just download the script from github, drag it to your resources folder and add it to your server CFG, [config as you want] ,done!

github link : https://github.com/ali-exacute/ex_nojumpinterior

my other scripts :
ESX adminplus
second hand vehicle
Advanced Kit System

4 Likes

Would have been nice but it doesn’t work for me. It could be because I use a build version.

it should work fine on all builds , if you got any error , i would try to fix it

That’s the thing, there is no error message, but I can’t query the interior ID under F8, nothing comes up either

Very nice idea! Thx for sharing

1 Like

so when you enter the command, there is nothing printed out ?
it should give you something if you are in or not either way

Hello, in fxmanifest.lua change
client_scripts {

"config.lua",

'client/main.lua'

}

to

client_scripts {
‘config.lua’,
‘main.lua’
}

Edit: And then it should work.

1 Like