User contributions for Hydra

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

15 March 2023

16 February 2023

  • 09:3309:33, 16 February 2023 diff hist +1,280 N IsCommandHandlerAddedCreated 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..." current
  • 08:4308:43, 16 February 2023 diff hist +173 Template:Useful Functions→‎Input functions

22 September 2022

  • 07:2707:27, 22 September 2022 diff hist +740 N IsVehicleOnFireCreated page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function checks if the vehicle is on fire. ==Syntax== <syntaxhighlight lang="lua">bool isVehicleOnFire(vehicle theVehicle)</syntaxhighlight> ===Required Arguments=== * '''vehicle''': vehicle element. ==Code== <section name="Function source" class="both" show="true"> <syntaxhighlight lang="lua"> function isVehicleOnFire(elementVehicle) if getElementType(elementVehicle) == "vehicle" then local..."
  • 07:2407:24, 22 September 2022 diff hist +131 Template:Useful Functions→‎Vehicle functions

21 June 2022

28 April 2022

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)