alexdubovyck

fire hack api | advanced lua unlock

Aug 12th, 2017
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.05 KB | None | 0 0
  1. https://gist.githubusercontent.com/l0l1dk/3d5e51e5b725f5deeb89828eb530ca28/raw/ca610c7ad2ac7f30a1c95fbf8b8647d85f4c7b9e/FireHack%20API.lua
  2. https://firehack.io/api/
  3.  
  4. FireHack 2.3.7 API Documentation
  5.  
  6. ------------------------- Active Player -------------------
  7.  
  8. --- Move to a position.
  9. -- X (number) - The X coordinate
  10. -- Y (number) - The Y coordinate
  11. -- Z (number) - The Z coordinate
  12. -- InstantTurn (boolean) - Whether to instantly turn toward the destination
  13. function MoveTo (X, Y, Z[, InstantTurn])
  14.  
  15. --- Stop falling.
  16. function StopFalling ()
  17.  
  18. --- Get the maximum angle from the XY plane that the player can move at
  19. -- returns (number) - The maximum angle in degrees
  20. function GetMaximumClimbAngle ()
  21.  
  22. --- Set the maximum angle from the XY plane that the player can move at
  23. -- Angle (number) - The maximum angle in degrees
  24. -- Note that the angle must be between 0º and 90º.
  25. function SetMaximumClimbAngle (Angle)
  26.  
  27. --- Send the player's movement state to the server.
  28. function SendMovementUpdate ()
  29.  
  30. --- Set the direction that the player is facing (angle in XY).
  31. -- Direction (number) - The direction in radians
  32. -- Update (boolean) - Whether to immediately notify the server
  33. function FaceDirection (Direction[, Update])
  34.  
  35. --- Set the player's pitch (angle from XY).
  36. -- Pitch (number) - The pitch in radians
  37. function SetPitch (Pitch)
  38.  
  39. --- Set the player's current speed.
  40. -- Speed (number) - The new current speed
  41. -- Note that this will cause a disconnect in most situations as it is checked by the server.
  42. function SetCurrentSpeed (Speed)
  43.  
  44. --- Set the player's run speed.
  45. -- Speed (number) - The new run speed
  46. -- Note that this will cause a disconnect in most situations as it is checked by the server.
  47. function SetRunSpeed (Speed)
  48.  
  49. --- Set the player's swim speed.
  50. -- Speed (number) - The new swim speed
  51. -- Note that this will cause a disconnect in most situations as it is checked by the server.
  52. function SetSwimSpeed (Speed)
  53.  
  54. --- Set the player's fly speed.
  55. -- Speed (number) - The new fly speed
  56. -- Note that this will cause a disconnect in most situations as it is checked by the server.
  57. function SetFlySpeed (Speed)
  58.  
  59. --- Get the distance that the player has fallen during the current fall.
  60. -- return (number) - The distance that the player has fallen during the current fall or 0 if not falling
  61. function GetDistanceFallen ()
  62.  
  63. ------------------------- Events --------------------------
  64.  
  65. --- Movement events
  66. table MoveEvent = {
  67. MoveForwardStart,
  68. MoveBackwardStart,
  69. MoveStop,
  70. StrafeLeftStart,
  71. StrafeRightStart,
  72. StrafeStop,
  73. AscensionStart,
  74. DescensionStart,
  75. AscensionDescensionStop,
  76. TryStartFalling,
  77. Jump,
  78. TurnLeftStart,
  79. TurnRightStart,
  80. TurnStop,
  81. PitchUpStart,
  82. PitchDownStart,
  83. PitchStop,
  84. WalkStart,
  85. WalkStop,
  86. SwimStart,
  87. ChangeRunSpeed,
  88. Knockback,
  89. FeatherFallStart,
  90. FeatherFallStop,
  91. Root,
  92. Unroot,
  93. Teleport,
  94. }
  95.  
  96. --- Add a frame callback.
  97. -- Callback (function) - The callback
  98. function AddFrameCallback (Callback)
  99.  
  100. --- Add a timer callback.
  101. -- Interval (number) - The number of seconds between calls
  102. -- Callback (function) - The callback
  103. function AddTimerCallback (Interval, Callback)
  104.  
  105. --- Add a WoW event callback.
  106. -- Event (string) - The event name
  107. -- Callback (function) - The callback
  108. -- Note that the callback is called with the event arguments.
  109. function AddEventCallback (Event, Callback)
  110.  
  111. --- Add a movement event callback.
  112. -- Callback (function) - The callback
  113. -- Note that the callback is called with a member of MoveEvent.
  114. function AddMovementCallback (Callback)
  115.  
  116. ------------------------- File ----------------------------
  117.  
  118. --- Get the names of the files in a directory.
  119. -- Path (string) - The path to the files
  120. -- returns (table) - The file names
  121. -- Example: "C:\*" would retrieve the names of all of the files in C:\.
  122. -- Example: "C:\*.dll" would retrieve the names of all of the .dll files in C:\.
  123. function GetDirectoryFiles (Path)
  124.  
  125. --- Get the names of the directories in a directory.
  126. -- Path (string) - The path to the directories
  127. -- returns (table) - The directory names
  128. -- Example: "C:\*" would retrieve the names of all of the directories in C:\.
  129. -- Example: "C:\Program Files*" would retrieve the names of the program files directories in C:\.
  130. function GetSubdirectories (Path)
  131.  
  132. --- Get the contents of a text file.
  133. -- Path (string) - The file path
  134. -- returns (string) - The file contents
  135. function ReadFile (Path)
  136.  
  137. --- Set the contents of or append a text file.
  138. -- Path (string) - The file path
  139. -- String (string) - The string to write
  140. -- Append (boolean) - Whether to append rather than overwrite
  141. function WriteFile (Path, Contents[, Append])
  142.  
  143. --- Get the directory that FireHack is in.
  144. -- returns (string) - The directory that FireHack is in
  145. function GetFireHackDirectory ()
  146.  
  147. --- Get the directory that WoW is in.
  148. -- returns (string) - The directory that WoW is in
  149. function GetWoWDirectory ()
  150.  
  151. ------------------------- Hacks ---------------------------
  152.  
  153. --- Hacks
  154. table Hacks = {
  155. Fly,
  156. Hover,
  157. Climb,
  158. MovingLoot,
  159. WaterWalk,
  160. M2Collision,
  161. WMOCollision,
  162. TerrainCollision,
  163. Zoom,
  164. AlwaysFacing,
  165. NoAutoAway,
  166. NoSwim,
  167. M2Rendering,
  168. WMORendering,
  169. TerrainRendering,
  170. LiquidRendering,
  171. CollisionRendering,
  172. Wireframe,
  173. CRZBlocking,
  174. Freeze,
  175. MovingCast,
  176. MultiJump,
  177. }
  178.  
  179. --- Get whether a hack is enabled.
  180. -- Hack (Hacks member) - The hack
  181. -- returns (boolean) - Whether the hack is enabled
  182. function IsHackEnabled (Hack)
  183.  
  184. --- Set whether a hack is enabled.
  185. -- Hack (Hacks member) - The hack
  186. -- Enable (boolean) - Whether the hack is to be enabled
  187. function SetHackEnabled (Hack, Enable)
  188.  
  189. ------------------------- Miscellaneous -------------------
  190.  
  191. --- Value types
  192. table Type = {
  193. Bool,
  194. Char,
  195. Byte,
  196. Short,
  197. UShort,
  198. Int,
  199. UInt,
  200. Long,
  201. ULong,
  202. Float,
  203. Double,
  204. String,
  205. IntPtr,
  206. UIntPtr,
  207. GUID,
  208. }
  209.  
  210. --- Immediately close the game client.
  211. -- Note that this does not return.
  212. function TerminateClient ()
  213.  
  214. --- Open a URL in the default handler for the scheme.
  215. -- URL (string) - The URL
  216. function OpenURL (URL)
  217.  
  218. --- Get whether the game client is the foreground window.
  219. -- returns (boolean) - Whether the game client is the foreground window
  220. function IsForeground ()
  221.  
  222. --- Get the state of a key.
  223. -- Key (integer) - The virtual key code
  224. -- returns (boolean, boolean) - Whether the key is down and whether the key is toggled
  225. -- Virtual Key Codes: https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
  226. function GetKeyState (Key)
  227.  
  228. --- Get FireHack's version number.
  229. -- returns (integer, integer, integer) - The major, minor, and patch version numbers
  230. function GetFireHackVersion ()
  231.  
  232. --- Get the time remaining on an auction.
  233. -- Type (string) - The auction type ("List", "Bidder", or "Owner")
  234. -- Index (integer) - The auction index
  235. -- returns (integer) - The number of milliseconds remaining
  236. function GetAuctionItemExactTimeLeft (Type, Index)
  237.  
  238. --- Call a function in a loaded module. It must return void and take no arguments.
  239. -- Module (string) - The module name
  240. -- Function (string) - The function name
  241. function CallModuleFunction (Module, Function)
  242.  
  243. --- Get a session variable.
  244. -- Name (string) - The variable name
  245. -- returns (string) - The value
  246. function GetSessionVariable (Name)
  247.  
  248. --- Set a session variable.
  249. -- Name (string) - The variable name
  250. -- Value (string) - The new value
  251. function SetSessionVariable (Name)
  252.  
  253. --- Send an HTTP or HTTPS request.
  254. -- URL (string) - The URL to send to
  255. -- PostData (string) - The post data if any (nil to use a GET request)
  256. -- OnComplete (function) - The function to be called with the response if the request succeeds
  257. -- OnError (function) - The function to be called with the error message if the request fails
  258. function SendHTTPRequest (URL, PostData, OnComplete, OnError)
  259.  
  260. ------------------------- Object --------------------------
  261.  
  262. --- Object type flags
  263. table ObjectTypes = {
  264. Object,
  265. Item,
  266. Container,
  267. Unit,
  268. Player,
  269. GameObject,
  270. DynamicObject,
  271. Corpse,
  272. AreaTrigger,
  273. SceneObject,
  274. All,
  275. }
  276.  
  277. --- Get an object's pointer.
  278. -- Object (object) - The object
  279. -- returns (string) - The pointer as a hexadecimal string prefixed by 0x
  280. function ObjectPointer (Object)
  281.  
  282. --- Get one of an object's fields.
  283. -- Object (object) - The object
  284. -- Offset (integer) - The field offset
  285. -- Type (Type member) - The field type
  286. -- returns (Type) - The field value
  287. function ObjectField (Object, Offset, Type)
  288.  
  289. --- Get one of an object's descriptors.
  290. -- Object (object) - The object
  291. -- Offset (integer) - The descriptor offset
  292. -- Type (Type member) - The descriptor type
  293. -- returns (Type) - The descriptor value
  294. function ObjectDescriptor (Object, Offset, Type)
  295.  
  296. --- Get an object's position.
  297. -- Object (object) - The object
  298. -- returns (number, number, number) - The X, Y, and Z coordinates
  299. function ObjectPosition (Object)
  300.  
  301. --- Get an object's facing.
  302. -- Object (object) - The object
  303. -- returns (number) - The facing (angle in XY) in radians
  304. function ObjectFacing (Object)
  305.  
  306. --- Get an object's GUID.
  307. -- Object (object) - The object
  308. -- returns (string) - The GUID
  309. function ObjectGUID (Object)
  310.  
  311. --- Get an object's type flags.
  312. -- Object (object) - The object
  313. -- returns (integer) - One or more members of the ObjectType table combined with bit.bor
  314. function ObjectTypeFlags (Object)
  315.  
  316. --- Get whether an object is of a type.
  317. -- Object (object) - The object
  318. -- Type (ObjectType member) - The type
  319. -- returns (boolean) - Whether the object is of the type
  320. function ObjectIsType (Object, Type)
  321.  
  322. --- Get an object's scale.
  323. -- Object (object) - The object
  324. -- returns (number) - The scale
  325. function ObjectScale (Object)
  326.  
  327. --- Interact with an object.
  328. -- Object (object) - The object
  329. function ObjectInteract (Object)
  330.  
  331. --- Get whether an object exists in the object manager.
  332. -- Object (object) - The object
  333. -- returns (boolean) - Whether the object exists in the object manager
  334. -- Note that if the object does not exist in the object manager it is invalid.
  335. function ObjectExists (Object)
  336.  
  337. --- Get an object's name.
  338. -- Object (object) - The object
  339. -- returns (string) - The name
  340. function ObjectName (Object)
  341.  
  342. --- Get the distance between two objects.
  343. -- Object1 (object) - The first object
  344. -- Object2 (object) - The second object
  345. -- returns (number) - The distance
  346. function GetDistanceBetweenObjects (Object1, Object2)
  347.  
  348. --- Get the angles between two objects.
  349. -- Object1 (object) - The first object
  350. -- Object2 (object) - The second object
  351. -- returns (number, number) - The facing (angle in XY) and pitch (angle from XY) from the first object to the second
  352. function GetAnglesBetweenObjects (Object1, Object2)
  353.  
  354. --- Get the position that is between two objects and a specified distance from the first object.
  355. -- Object1 (object) - The first object
  356. -- Object2 (object) - The second object
  357. -- Distance (number) - The distance from the first object
  358. -- returns (number, number, number) - The X, Y, and Z coordinates
  359. function GetPositionBetweenObjects (Object1, Object2, Distance)
  360.  
  361. --- Get whether an object is facing another.
  362. -- Object1 (object) - The first object
  363. -- Object2 (object) - The second object
  364. -- returns (boolean) - Whether the first object is facing the second
  365. function ObjectIsFacing (Object1, Object2)
  366.  
  367. --- Get whether an object is behind another.
  368. -- Object1 (object) - The first object
  369. -- Object2 (object) - The second object
  370. -- returns (boolean) - Whether the first object is behind the second
  371. function ObjectIsBehind (Object1, Object2)
  372.  
  373. --- Get whether an object is tracked.
  374. -- Object (object) - The object
  375. -- returns (boolean) - Whether the object is tracked
  376. function ObjectIsTracked (Object)
  377.  
  378. --- Set whether an object is tracked.
  379. -- Object (object) - The object
  380. -- Track (boolean) - Whether the object is to be tracked
  381. function ObjectSetTracked (Object, Track)
  382.  
  383. --- Get an object's type ID.
  384. -- Object (object) - The object
  385. -- returns (integer) - The type ID or nil if there is none
  386. function ObjectID (Object)
  387.  
  388. ------------------------- Object Manager ------------------
  389.  
  390. --- Get the number of objects in the object manager.
  391. -- returns (integer) - The number of objects in the object manager
  392. function GetObjectCount ()
  393.  
  394. --- Get an object in the object manager from its index.
  395. -- Index (integer) - The one-based index of the object
  396. -- returns (object) - The object
  397. function GetObjectWithIndex (Index)
  398.  
  399. --- Get an object in the object manager from its pointer.
  400. -- Pointer (string) - A pointer to the object as a hexadecimal string prefixed by 0x
  401. -- returns (object) - The object
  402. function GetObjectWithPointer (Pointer)
  403.  
  404. --- Get an object in the object manager from its GUID.
  405. -- GUID (string) - The GUID
  406. -- returns (object) - The object or nil if it does not in the object manager
  407. function GetObjectWithGUID (GUID)
  408.  
  409. ------------------------- Scripts -------------------------
  410.  
  411. --- Load a script from the Scripts folder.
  412. -- FileName (string) - The script file name
  413. -- returns - The return values of the script if any
  414. function LoadScript (FileName)
  415.  
  416. --- Get the file name of the currently executing script.
  417. -- returns (string) - The file name of the currently executing script
  418. -- Note that this can only be called from within a script.
  419. function GetScriptName ()
  420.  
  421. ------------------------- Tracking ------------------------
  422.  
  423. --- Add a tracking filter.
  424. -- Name (string) - The filter name
  425. -- Function (function) - The filter function taking an object and returning whether it is to be tracked
  426. -- Enable (boolean) - Whether the filter is to be immediately enabled
  427. function AddTrackingFilter (Name, Function, Enable)
  428.  
  429. --- Get whether a tracking filter is enabled.
  430. -- Name (string) - The filter name
  431. -- returns (boolean) - Whether the filter is enabled
  432. function IsFilterEnabled (Name)
  433.  
  434. --- Set whether a tracking filter is enabled.
  435. -- Name (string) - The filter name
  436. -- Enable (boolean) - Whehter the filter is to be enabled
  437. function SetFilterEnabled (Name, Enable)
  438.  
  439. --- Get whether a name is tracked.
  440. -- Name (string) - The name
  441. -- returns (boolean) - Whether the name is tracked
  442. function IsNameTracked (Name)
  443.  
  444. --- Set whether a name is tracked.
  445. -- Name (string) - The name
  446. -- Track (boolean) - Whether the name is to be tracked
  447. function SetNameTracked (Name, Track)
  448.  
  449. --- Get whether an object type ID is tracked.
  450. -- ID (integer) - The object type ID
  451. -- returns (boolean) - Whether the object type ID is tracked
  452. function IsIDTracked (ID)
  453.  
  454. --- Set whether an object type ID is tracked.
  455. -- ID (integer) - The object type ID
  456. -- Track (boolean) - Whether the ID is to be tracked
  457. -- Note that you can get an object's type ID with the ObjectID function.
  458. function SetIDTracked (ID, Track)
  459.  
  460. ------------------------- Unit ----------------------------
  461.  
  462. --- Unit movement flags
  463. table MovementFlags = {
  464. Forward,
  465. Backward,
  466. StrafeLeft,
  467. StrafeRight,
  468. TurnLeft,
  469. TurnRight,
  470. PitchUp,
  471. PitchDown,
  472. Walking,
  473. Immobilized,
  474. Falling,
  475. FallingFar,
  476. Swimming,
  477. Ascending,
  478. Descending,
  479. CanFly,
  480. Flying,
  481. }
  482.  
  483. --- Visible item slots
  484. table Slots = {
  485. Head,
  486. Shoulders,
  487. Shirt,
  488. Chest,
  489. Waist,
  490. Legs,
  491. Feet,
  492. Wrists,
  493. Hands,
  494. Back,
  495. MainHand,
  496. OffHand,
  497. Tabard,
  498. }
  499.  
  500. --- Appearance types
  501. table AppearanceTypes = {
  502. Skin,
  503. Face,
  504. Hair,
  505. HairColor,
  506. Misc,
  507. }
  508.  
  509. --- Sexes
  510. table Sexes = {
  511. Male,
  512. Female,
  513. Unknown,
  514. }
  515.  
  516. --- Get one of a unit's movement fields.
  517. -- Unit (unit) - The unit
  518. -- Offset (integer) - The field offset
  519. -- Type (Type member) - The field type
  520. -- returns (Type) - The field value
  521. function UnitMovementField (Unit, Offset, Type)
  522.  
  523. --- Get a unit's movement flags.
  524. -- Unit (unit) - The unit
  525. -- returns (integer) - The movement flags
  526. function UnitMovementFlags (Unit)
  527.  
  528. --- Get a unit's pitch.
  529. -- Unit (unit) - The unit
  530. -- returns (number) - The pitch in radians
  531. function UnitPitch (Unit)
  532.  
  533. --- Get a unit's bounding radius.
  534. -- Unit (unit) - The unit
  535. -- returns (number) - The bounding radius
  536. function UnitBoundingRadius (Unit)
  537.  
  538. --- Get a unit's combat reach.
  539. -- Unit (unit) - The unit
  540. -- returns (number) - The combat reach
  541. function UnitCombatReach (Unit)
  542.  
  543. --- Get a unit's target.
  544. -- Unit (unit) - The unit
  545. -- returns (unit) - The target or nil if there is none
  546. function UnitTarget (Unit)
  547.  
  548. --- Get a unit's creator.
  549. -- Unit (unit) - The unit
  550. -- returns (unit) - The creator or nil if there is none
  551. function UnitCreator (Unit)
  552.  
  553. --- Get whether a unit can be looted.
  554. -- Unit (unit) - The unit
  555. -- returns (boolean) - Whether the unit can be looted
  556. function UnitCanBeLooted (Unit)
  557.  
  558. --- Get whether a unit can be skinned.
  559. -- Unit (unit) - The unit
  560. -- returns (boolean) - Whether the unit can be skinned
  561. function UnitCanBeSkinned (Unit)
  562.  
  563. --- Update a unit's model.
  564. -- Unit (unit) - The unit
  565. function UnitUpdateModel (Unit)
  566.  
  567. --- Get a unit's display ID.
  568. -- Unit (unit) - The unit
  569. -- returns (integer) - The display ID
  570. function UnitGetDisplayID (Unit)
  571.  
  572. --- Set a unit's display ID.
  573. -- Unit (unit) - The unit
  574. -- DisplayID (integer) - The new display ID
  575. -- Note that UnitUpdateModel must be called for the change to be displayed.
  576. function UnitSetDisplayID (Unit, DisplayID)
  577.  
  578. --- Reset a unit's model.
  579. -- Unit (unit) - The unit
  580. -- Note that UnitUpdateModel must be called for the change to be displayed.
  581. function UnitReset (Unit)
  582.  
  583. --- Get a unit's mount's display ID.
  584. -- Unit (unit) - The unit
  585. -- returns (integer) - The display ID
  586. function UnitGetMountDisplayID (Unit)
  587.  
  588. --- Set a unit's mount's display ID.
  589. -- Unit (unit) - The unit
  590. -- DisplayID (integer) - The display ID
  591. function UnitSetMountDisplayID (Unit, DisplayID)
  592.  
  593. --- Get a unit's sex.
  594. -- Unit (unit) - The unit
  595. -- returns (Sexes member) - The sex
  596. function UnitGetSex (Unit)
  597.  
  598. --- Set a unit's sex.
  599. -- Unit (unit) - The unit
  600. -- Sex (Sexes member) - The sex
  601. -- Note that UnitUpdateModel must be called for the change to be displayed.
  602. function UnitSetSex (Unit, Sex)
  603.  
  604. --- Get a one of unit's visible items.
  605. -- Unit (unit) - The unit
  606. -- Slot (Slots member) - The item slot
  607. -- returns (integer) - The item display ID
  608. function UnitGetItem (Unit, Slot)
  609.  
  610. --- Set one of a unit's visible items.
  611. -- Unit (unit) - The unit
  612. -- Slot (Slots member) - The item slot
  613. -- DisplayID (integer) - The item display ID
  614. -- Note that UnitUpdateModel must be called for the change to be displayed.
  615. function UnitSetItem (Unit, Slot, DisplayID)
  616.  
  617. --- Set a unit's appearance.
  618. -- Unit (unit) - The unit
  619. -- Type (AppearanceTypes member) - The appearance type
  620. -- returns (integer) - The appearance ID
  621. function UnitGetAppearance (Unit, Type)
  622.  
  623. --- Get a unit's appearance.
  624. -- Unit (unit) - The unit
  625. -- Type (AppearanceTypes member) - The appearance type
  626. -- ID (integer) - The appearance ID
  627. -- Note that UnitUpdateModel must be called for the change to be displayed.
  628. function UnitSetAppearance (Unit, Type, ID)
  629.  
  630. ------------------------- World ---------------------------
  631.  
  632. --- Trace line hit flags
  633. table HitFlags = {
  634. M2Collision,
  635. M2Render,
  636. WMOCollision,
  637. WMORender,
  638. Terrain,
  639. WaterWalkableLiquid,
  640. Liquid,
  641. EntityCollision,
  642. }
  643.  
  644. --- Simulate a click at a position in the game-world.
  645. -- X (number) - The X coordinate
  646. -- Y (number) - The Y coordinate
  647. -- Z (number) - The Z coordinate
  648. -- Right (boolean) - Whether to right click rather than left click
  649. function ClickPosition (X, Y, Z[, Right])
  650.  
  651. --- Get whether an AoE spell is pending a target.
  652. -- returns (boolean) - Whether an AoE spell is pending a target
  653. function IsAoEPending ()
  654.  
  655. --- Cancel the pending spell if any.
  656. function CancelPendingSpell ()
  657.  
  658. --- Get the timestamp.
  659. -- returns (integer) - The timestamp
  660. function GetTimestamp ()
  661.  
  662. --- Perform a raycast between two positions.
  663. -- StartX (number) - The starting X coordinate
  664. -- StartY (number) - The starting Y coordinate
  665. -- StartZ (number) - The starting Z coordinate
  666. -- EndX (number) - The ending X coordinate
  667. -- EndY (number) - The ending Y coordinate
  668. -- EndZ (number) - The ending Z coordinate
  669. -- Flags (integer) - One or more members of the HitFlags table combined with bit.bor
  670. -- returns (number, number, number) - The X, Y, and Z coordinates of the hit position, or nil if there was no hit
  671. function TraceLine (StartX, StartY, StartZ, EndX, EndY, EndZ, Flags)
  672.  
  673. --- Get the camera position.
  674. -- returns (number, number, number) - The X, Y, and Z coordinates of the camera
  675. function GetCameraPosition ()
  676.  
  677. --- Get the field of view.
  678. -- returns (number) - The field of view
  679. function GetFieldOfView ()
  680.  
  681. --- Set the field of view.
  682. -- Value (number) - The new field of view
  683. function SetFieldOfView (Value)
Add Comment
Please, Sign In to add comment