DgsSetInputEnabled

From Multi Theft Auto: Wiki
Revision as of 21:39, 3 May 2021 by Lettify (talk | contribs) (DGS OOP Syntax changing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is a replica of guiSetInputEnabled. In order to satisfy the needs of developers, the function exists here. Because DGS elements will also be affected by guiSetInputEnabled.

Syntax

bool dgsSetInputEnabled ( bool enabled )

DGS OOP Syntax Help! I don't understand this!

Method: dgsRootInstance:setInputEnabled(...)
Counterpart: dgsGetInputEnabled

Required Arguments

  • enabled: true if input should go to GUI, false if it should go to the game.

Returns

Returns true if input mode could be changed, false if invalid parameters are passed.

See Also

General Functions

General Events