Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SUGESTION to better disable functions when interacting or shopping #4

Open
Velkostatkar opened this issue Nov 2, 2021 · 0 comments

Comments

@Velkostatkar
Copy link

Velkostatkar commented Nov 2, 2021

Hello,

  1. my players are mad about popui becouse when they are close to MARKER they many time kill each other by Flashlight or by fist.
    So I going to experiment with more Disable controls to avoid the players madnessss.

in many situations like police wardrobe you can still use some functions what propably stuck player in shop. I know its JOBS but same solution.

the worst is when player open CHAT and is close to visible popui. When he start writing and hiting accidentaly all bindings becouse the POPUI is still in layer before chat, so you writing and also open every single bind you press.

I going to try put more disables to R_jobs and r_popui

		DisableControlAction(0, 24, true) -- Attack
		DisableControlAction(0, 257, true) -- Attack 2
		DisableControlAction(0, 25, true) -- Aim
		DisableControlAction(0, 263, true) -- Melee Attack 1


		DisableControlAction(0, 45, true) -- Reload

		DisableControlAction(0, 44, true) -- Cover
		DisableControlAction(0, 37, true) -- Select Weapon
		DisableControlAction(0, 23, true) -- Also 'enter'?

		DisableControlAction(0, 288,  true) -- Disable phone
		DisableControlAction(0, 289, true) -- Inventory
		DisableControlAction(0, 170, true) -- Animations
		DisableControlAction(0, 167, true) -- Job

		DisableControlAction(0, 0, true) -- Disable changing view
		DisableControlAction(0, 26, true) -- Disable looking behind
		DisableControlAction(0, 73, true) -- Disable clearing animation
		DisableControlAction(2, 199, true) -- Disable pause screen




		--DisableControlAction(0, 59, true) -- Disable steering in vehicle
		--DisableControlAction(0, 71, true) -- Disable driving forward in vehicle
		--DisableControlAction(0, 72, true) -- Disable reversing in vehicle

		DisableControlAction(2, 36, true) -- Disable going stealth

		DisableControlAction(0, 47, true)  -- Disable weapon
		DisableControlAction(0, 264, true) -- Disable melee
		DisableControlAction(0, 257, true) -- Disable melee
		DisableControlAction(0, 140, true) -- Disable melee
		DisableControlAction(0, 141, true) -- Disable melee
		DisableControlAction(0, 142, true) -- Disable melee
		DisableControlAction(0, 143, true) -- Disable melee
		DisableControlAction(0, 75, true)  -- Disable exit vehicle
		DisableControlAction(27, 75, true) -- Disable exit vehicle
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant