mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Fix: Additional disable controls for vehicles + chat.
This commit is contained in:
1 parent
95ed68dff6
commit
80d2d5476a
1 file changed
+19
-8
@@ -4,14 +4,25 @@ CreateThread(function()
|
|||||||
while true do
|
while true do
|
||||||
if disableKeys then
|
if disableKeys then
|
||||||
Wait(0)
|
Wait(0)
|
||||||
DisableControlAction(0, 1, true) -- Look Left/Right
|
DisableControlAction(0, 1, true) -- Look Left/Right
|
||||||
DisableControlAction(0, 2, true) -- Look up/Down
|
DisableControlAction(0, 2, true) -- Look up/Down
|
||||||
DisableControlAction(0, 16, true) -- Next Weapon
|
DisableControlAction(0, 16, true) -- Next Weapon
|
||||||
DisableControlAction(0, 17, true) -- Select Previous Weapon
|
DisableControlAction(0, 17, true) -- Select Previous Weapon
|
||||||
DisableControlAction(0, 22, true) -- Jump
|
DisableControlAction(0, 22, true) -- Jump
|
||||||
DisableControlAction(0, 24, true) -- Attack
|
DisableControlAction(0, 24, true) -- Attack
|
||||||
DisableControlAction(0, 25, true) -- Aim
|
DisableControlAction(0, 25, true) -- Aim
|
||||||
DisableControlAction(0, 37, true) -- Weapon Wheel
|
DisableControlAction(0, 37, true) -- Weapon Wheel
|
||||||
|
DisableControlAction(0, 81, true) -- Next Radio (Vehicle)
|
||||||
|
DisableControlAction(0, 82, true) -- Previous Radio (Vehicle)
|
||||||
|
DisableControlAction(0, 91, true) -- Passenger Aim (Vehicle)
|
||||||
|
DisableControlAction(0, 92, true) -- Passenger Attack (Vehicle)
|
||||||
|
DisableControlAction(0, 99, true) -- Select Next Weapon (Vehicle)
|
||||||
|
DisableControlAction(0, 106, true) -- Control Override (Vehicle)
|
||||||
|
DisableControlAction(0, 114, true) -- Fly Attack (Flying)
|
||||||
|
DisableControlAction(0, 115, true) -- Next Weapon (Flying)
|
||||||
|
DisableControlAction(0, 122, true) -- Control OVerride (Flying)
|
||||||
|
DisableControlAction(0, 135, true) -- Control OVerride (Sub)
|
||||||
|
DisableControlAction(0, 245, true) -- Chat
|
||||||
else
|
else
|
||||||
Wait(100)
|
Wait(100)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user