DgsSetMultiClickInterval

From Multi Theft Auto: Wiki
Revision as of 23:17, 3 May 2021 by Lettify (talk | contribs) (DGS (OOP Syntax)/(Template Organization) Mission)
Jump to navigation Jump to search

This function sets the interval among (n) times clicks.

Syntax

bool dgsSetMultiClickInterval( int interval )

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

Method: dgsRootInstance:setMultiClickInterval(...)
Counterpart: dgsGetMultiClickInterval

Required Arguments

  • interval: An int of the interval among clicks (ms).

Returns

Returns true if successful, false otherwise

Example

DGS = exports.dgs
DGS:dgsSetMultiClickInterval(1000) -- Now, 2 clicks in 1 second will trigger double click event.

See Also

General Functions

General Events