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

12 April 2022

  • 20:2920:29, 12 April 2022 diff hist +10 SetPedAttackNo edit summary current
  • 20:2920:29, 12 April 2022 diff hist +1,554 N SetPedFollowCreated page with "{{Useful Function}} __NOTOC__ This function makes a ped to follow a player. <br> '''Only CLIENT-SIDE''' <br> ==Syntax== <syntaxhighlight lang="lua">bool setPedFollow(ped theElement, target element theTarget)</syntaxhighlight> ===Required Arguments=== * '''theElement''': The ped element. * '''theTarget''': The target element. ==Code== {{RequiredFunctions|findRotation}} <section name="Clientside script" class="client" show="true"> <syntaxhighlight lang="lua"> function s..."
  • 20:2520:25, 12 April 2022 diff hist +130 Template:Useful Functions→‎Ped functions
  • 20:2320:23, 12 April 2022 diff hist +2,426 N SetPedAttackCreated page with "{{Useful Function}} __NOTOC__ This function makes a ped to attack a player. <br> '''Only CLIENT-SIDE''' <br> ==Syntax== <syntaxhighlight lang="lua">bool setPedAttack(ped theElement, target element theTarget, weapon theWeapon, ammo theAmmo, slot thePedSlot)</syntaxhighlight> ===Required Arguments=== * '''theElement''': The ped element. * '''theTarget''': The target element. * '''theWeapon''': The weapon for the ped. * '''theAmmo''': The weapon ammo for the ped. * '''the..."
  • 20:1020:10, 12 April 2022 diff hist +130 Template:Useful Functions→‎Ped functions

17 December 2021

18 November 2021

1 November 2021

26 October 2021

19 October 2021

1 September 2021

8 February 2021

25 June 2020

20 March 2020

2 March 2020

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