DgsSetInputEnabled

From Multi Theft Auto: Wiki
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