[Release] Disable Pause Menu While Driving / Moving [1.0]

Disable Pause Menu - By FAXES

About
Ever played TruckersMP and seen how you cant pause your game while moving? Well now you can with this simple script. This does not let players pause the game while they are moving or driving. Hope you enjoy!

In the Download

__resource.lua
client.lua
License.md


Video:


Requirements
None. This is a standalone script.

Downloads:

Installation
Place in your resources folder, just like any other NORMAL resource.

Credits
@dibzer - Testing / Troubleshooting

If you have any issues or comments please put them below. :christmas_tree:

7 Likes

Such a sick release! Making it way more realistic, love it :fire:

2 Likes

seems great, now how does this work with passangers? do they also get effected?

1 Like

Dont believe so. Its untested lemme know if it does

Thinking just the same, would be even nicer if the passengers can open the menu but not the driver

Just like Waze

1 Like

I just tested it and that doesn’t seem to happen, however, if it does refuse to open just use

if IsPedInVehicle(ped, veh, false) and GetPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), -1) == PlayerPedId() then
1 Like

4head lovely

1 Like

Yeah it should not as it checks for player movement which a passenger does not do…

OMG again a good script. I have an idea for your next script.

Make a cmd like /water and you hold a fire hoose and when you shoot the water from a fire truck comes out the truck.

1 Like

cool thanks good job

1 Like