New pages
Jump to navigation
Jump to search
- 05:22, 3 March 2023 CreateGarageColShape (hist | edit) [2,998 bytes] LordHenry (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle/> __NOTOC__ This function creates a collision shape from the specified garage. Most garage collision shapes are rectangles, but if the garage is diagonal, its collision shape is a polygon. {{VisualizeColshape}} ==Syntax== <syntaxhighlight lang="lua">colshape createGarageColShape (int garageID)</syntaxhighlight> ===Required Arguments=== *'''garageID:''' The garage ID that represents the garage interior that's being gotten....")
- 09:33, 16 February 2023 IsCommandHandlerAdded (hist | edit) [1,280 bytes] Hydra (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ Checks if a command is added in the respective resource. ==Syntax== <syntaxhighlight lang="lua"> isCommandHandlerAdded(string command) </syntaxhighlight> ===Required Arguments=== *'''command:''' The name of the command you want to check. ===Returns=== Return true if the command exists and false if not. ==Code== <section name="Serverside script" class="server" show="true"> <syntaxhighlight lang="lua"> fu...")
- 11:51, 11 February 2023 OnDgsElementLeave (hist | edit) [1,492 bytes] Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse away from a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY'...")
- 11:49, 11 February 2023 OnDgsElementEnter (hist | edit) [1,485 bytes] Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse over a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY, element leftGUI </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '...")