User contributions for CrosRoad95
Jump to navigation
Jump to search
14 October 2023
- 06:0606:06, 14 October 2023 diff hist +9 DxDrawModel3D No edit summary
- 06:0606:06, 14 October 2023 diff hist +1,545 N DxDrawModel3D Created page with "__NOTOC__ {{Client function}} {{Important Note|You can not use this function to draw vehicles and ped}} {{Important Note|This function doesn't obey any streaming limits, you can draw as many models as you want}} {{Important Note|You can not render model to render target.}} This function draws a 3D model - rendered for '''one''' frame. Drawn models are indistinguishable from this one created by "createObject" function. This should be used in conjunction with onClientR..."
- 06:0406:04, 14 October 2023 diff hist 0 N File:DxDrawModel3D at night.png No edit summary current
- 06:0306:03, 14 October 2023 diff hist 0 N File:DxDrawModel3D at day.png No edit summary current
6 October 2023
- 16:1316:13, 6 October 2023 diff hist +117 Template:Useful Functions No edit summary
- 16:0916:09, 6 October 2023 diff hist +1,202 N Debounce Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function is removing unwanted input noise from buttons, switches or other user input. see: https://www.techtarget.com/whatis/definition/debouncing ==Syntax== <syntaxhighlight lang="lua"> void debounce( number timeout, function callback, ...arguments) </syntaxhighlight> ==Code== <section name="Shared" class="both" show="true"> <syntaxhighlight lang="lua"> local debounces = {} function debounce(timeou..." current
3 September 2023
- 10:1310:13, 3 September 2023 diff hist +65 EngineRequestModel No edit summary
10 August 2023
- 16:3416:34, 10 August 2023 diff hist +282 DxCreateRenderTarget No edit summary current
- 16:3316:33, 10 August 2023 diff hist +2,364 N Surface format Add surface format page current
9 August 2023
- 14:2714:27, 9 August 2023 diff hist +112 ReloadBrowserPage add missing "ignoreCache" argument current
12 March 2023
- 06:0206:02, 12 March 2023 diff hist +248 Math.lerp add variant of mathlerp that doesn't care about order of number current
11 March 2023
- 17:3817:38, 11 March 2023 diff hist +75 GetPointFromDistanceRotation Remove unnecessary new lines current
28 August 2021
- 15:2615:26, 28 August 2021 diff hist +10 m Vehicle Upgrades typo, should be Stratum not Statum
31 May 2021
- 13:4813:48, 31 May 2021 diff hist +1,180 CEF Tutorial No edit summary current
2 March 2021
- 15:0515:05, 2 March 2021 diff hist +106 SetColPolygonHeight No edit summary
17 January 2021
- 08:4008:40, 17 January 2021 diff hist +743 N SetColPolygonHeight Created page with "{{Server client function}} __NOTOC__ {{New feature/item|3.0158|1.5.7|20397|This function is used to change height of an existing colshape polygon.}} ==Sy..."
5 January 2021
- 20:5620:56, 5 January 2021 diff hist 0 Scripting Tips →Speed comparison between structural and OOP scripting
- 20:5520:55, 5 January 2021 diff hist 0 Scripting Tips fix typo, then -> than
21 September 2020
- 15:4715:47, 21 September 2020 diff hist +167 Template:Useful Classes No edit summary
- 15:4215:42, 21 September 2020 diff hist +1,509 N Observable Created page with "{{Useful Class}} __NOTOC__ This class allows you to watch for variables changes. Call observable variable to push new state. Author: CrosRoad95 Contact discord: mtasa.com/di..."
- 15:3515:35, 21 September 2020 diff hist +10 Importer No edit summary
18 September 2020
- 11:5511:55, 18 September 2020 diff hist +110 PhysicsCreateWorld No edit summary current
20 May 2020
- 17:0717:07, 20 May 2020 diff hist +57 GetMoonSize No edit summary current
- 17:0617:06, 20 May 2020 diff hist +1 m GetRainLevel No edit summary
- 17:0517:05, 20 May 2020 diff hist +68 GetRainLevel No edit summary
- 17:0417:04, 20 May 2020 diff hist +171 GetSunSize No edit summary current
- 16:5316:53, 20 May 2020 diff hist +176 GetWindVelocity No edit summary current
20 February 2020
- 06:4006:40, 20 February 2020 diff hist +669 User:CrosRoad95 No edit summary current
- 06:2306:23, 20 February 2020 diff hist +700 User:CrosRoad95 No edit summary
19 February 2020
- 20:5420:54, 19 February 2020 diff hist +274 Physics properties →Physics properties current
- 19:1619:16, 19 February 2020 diff hist +1,116 N PhysicsIsElement Created page with "__NOTOC__ {{Client function}} Returns whatever physics-element exists ==Syntax== <syntaxhighlight lang="lua"> bool physicsIsElement(physics-element thePhysicsElement)..." current
- 19:1319:13, 19 February 2020 diff hist +22 Template:Client physics functions No edit summary current
- 19:1119:11, 19 February 2020 diff hist −3 PhysicsGetElementType →Example current
- 19:0519:05, 19 February 2020 diff hist +1,045 N PhysicsGetElementType Created page with "__NOTOC__ {{Client function}} Returns type of physics-element ==Syntax== <syntaxhighlight lang="lua"> string physicsGetElementType(physics-element thePhysicsElement)..."
- 19:0219:02, 19 February 2020 diff hist +27 Template:Client physics functions No edit summary
- 15:5415:54, 19 February 2020 diff hist +245 Physics properties →Physics properties
- 15:1715:17, 19 February 2020 diff hist +743 N PhysicsBuildCollisionFromGTA Created page with "__NOTOC__ {{Client function}} Makes gta collision get copied into bullet physics collision world. Doesn't load areas thats are not streamed in ( don't have loaded collisions..." current
- 15:1015:10, 19 February 2020 diff hist +1,212 N PhysicsCreateConstraint Created page with "__NOTOC__ {{Client function}} Creates connection between rigid body and other rigid body or specified position. ==Syntax== <syntaxhighlight lang="lua"> physics-constraint p..." current
- 14:3414:34, 19 February 2020 diff hist −15 PhysicsCreateShapeFromModel →Example current
18 February 2020
- 21:3021:30, 18 February 2020 diff hist +387 PhysicsCreateShape No edit summary current
- 20:4120:41, 18 February 2020 diff hist +118 PhysicsCreateShape No edit summary
- 17:3417:34, 18 February 2020 diff hist +191 Physics debug mode →Physics debug modes current
- 17:2417:24, 18 February 2020 diff hist +21 Physics debug mode →Physics debug modes
- 17:2417:24, 18 February 2020 diff hist +2 Physics debug mode →Physics debug modes
- 17:0617:06, 18 February 2020 diff hist +1 Physics debug mode No edit summary
- 17:0517:05, 18 February 2020 diff hist +863 N Physics debug mode Created page with "===Physics properties=== used in *physicsSetDebugMode {|class="wikitable sortable" |- ! Name || Parametrs || Description |- | nodebug || bool || If set to true, resets de..."
- 17:0017:00, 18 February 2020 diff hist +496 N PhysicsSetDebugMode Created page with "__NOTOC__ {{Client function}} Changes debug mode of physicsDrawDebug ==Syntax== <syntaxhighlight lang="lua"> bool physicsSetDebugMode(physics thePhysics, string key, mixed..." current
- 16:4716:47, 18 February 2020 diff hist +3 PhysicsDestroy No edit summary current
- 16:4716:47, 18 February 2020 diff hist +765 N PhysicsDestroy Created page with "__NOTOC__ {{Client function}} Use to destroy shape, constraint, static collision or rigid body. If rigid body got destroyed, all connected constraints will destroyed too If..."
15 February 2020
- 07:4807:48, 15 February 2020 diff hist +10 PhysicsCreateWorld No edit summary
14 February 2020
- 18:1418:14, 14 February 2020 diff hist +29 Template:Client physics functions No edit summary
- 18:1318:13, 14 February 2020 diff hist +430 N PhysicsRemoveChildShape Created page with "__NOTOC__ {{Client function}} Removes child shape. ==Syntax== <syntaxhighlight lang="lua"> physics-rigid-body physicsRemoveChildShape( physics-shape theShape, int index)</s..." current
- 17:1217:12, 14 February 2020 diff hist +617 N PhysicsCreateStaticCollision Created page with "__NOTOC__ {{Client function}} Creates static collision ==Syntax== <syntaxhighlight lang="lua"> physics-static-collision physicsCreateStaticCollision(physics-shape theShape)..." current
- 16:2116:21, 14 February 2020 diff hist −14 PhysicsCreateRigidBody No edit summary current
- 16:2016:20, 14 February 2020 diff hist +1,191 N PhysicsCreateRigidBody Created page with "__NOTOC__ {{Client function}} Creates rigid body from shape ==Syntax== <syntaxhighlight lang="lua"> physics-rigid-body physicsCreateRigidBody( physics-shape theShape [ , fl..."
- 15:1115:11, 14 February 2020 diff hist +839 N PhysicsApplyDamping Created page with "__NOTOC__ {{Client function}} Slows down rigid body ==Syntax== <syntaxhighlight lang="lua"> bool physicsApplyDamping( physics-rigid-body theRigidBody, float dumping)..." current
- 15:0315:03, 14 February 2020 diff hist +624 N PhysicsApplyAngularVelocityForce Created page with "__NOTOC__ {{Client function}} Accelerate angular velocity of rigid body. ( i'm not sure is correct explanation ) ==Syntax== <syntaxhighlight lang="lua"> bool physicsApplyAng..." current
- 15:0015:00, 14 February 2020 diff hist +804 N PhysicsApplyAngularVelocity Created page with "__NOTOC__ {{Client function}} Applies angular velocity to rigid body ==Syntax== <syntaxhighlight lang="lua"> bool physicsApplyVelocity( physics-rigid-body theRigidBody, flo..." current
- 14:5414:54, 14 February 2020 diff hist −6 Template:Client physics functions No edit summary
- 14:5214:52, 14 February 2020 diff hist +711 N PhysicsApplyVelocityForce Created page with "__NOTOC__ {{Client function}} Accelerate velocity of rigid body. ( i'm not sure is correct explanation ) ==Syntax== <syntaxhighlight lang="lua"> bool physicsApplyVelocityFor..." current
- 11:3311:33, 14 February 2020 diff hist 0 PhysicsApplyVelocity No edit summary current
- 11:3211:32, 14 February 2020 diff hist −31 Template:Client physics functions No edit summary
- 11:3211:32, 14 February 2020 diff hist +1,023 N PhysicsApplyVelocity Created page with "__NOTOC__ {{Client function}} Applies velocity to rigid body ==Syntax== <syntaxhighlight lang="lua"> bool ohysicsApplyVelocity( physics-rigid-body theRigidBody, float veloc..."
13 February 2020
- 20:2920:29, 13 February 2020 diff hist +195 PhysicsShapeCast →Returns current
- 20:2320:23, 13 February 2020 diff hist +1,965 N PhysicsShapeCast Created page with "__NOTOC__ {{Client function}} Tests collision ( like ray cast ) between two position having shape you provided. Remember to let world update before cast, just wait one frame...."
- 17:0017:00, 13 February 2020 diff hist −4 Template:Client physics functions No edit summary
- 16:2716:27, 13 February 2020 diff hist +1,115 N PhysicsCreateShapeFromModel Created page with "__NOTOC__ {{Client function}} Creates shape from model in specific physics world. Model must be streamed in ( orignal gtasa models counts as stream in ) ==Syntax== <syntaxhi..."
- 15:3215:32, 13 February 2020 diff hist +6 Physics raycast type →"default" current
12 February 2020
- 20:0720:07, 12 February 2020 diff hist +71 PhysicsSetChildShapeOffsets No edit summary current
- 19:4519:45, 12 February 2020 diff hist +1,246 N PhysicsSetChildShapeOffsets Created page with "__NOTOC__ {{Client function}} Sets offset position and/or rotation of child shape. Causes all rigids which uses this shape got activated. ==Syntax== <syntaxhighlight lang=..."
- 19:4119:41, 12 February 2020 diff hist −37 PhysicsGetChildShapeOffsets No edit summary current
- 18:0818:08, 12 February 2020 diff hist +1,005 N PhysicsGetChildShapeOffsets Created page with "__NOTOC__ {{Client function}} Returns offset position and rotation of child shape. Sometimes return number is slightly different than input! ==Syntax== <syntaxhighlight lan..."
- 18:0118:01, 12 February 2020 diff hist +66 Template:Client physics functions No edit summary
- 15:0415:04, 12 February 2020 diff hist +27 Template:Client physics functions No edit summary
- 15:0415:04, 12 February 2020 diff hist +864 N PhysicsGetChildShapes Created page with "__NOTOC__ {{Client function}} Returns all child shape of compound shape. ==Syntax== <syntaxhighlight lang="lua"> table physicsGetChildShapes(physics-shape compoundShape) </..." current
- 14:3714:37, 12 February 2020 diff hist +5 Template:Client physics functions No edit summary
- 14:3714:37, 12 February 2020 diff hist +35 PhysicsAddChildShape No edit summary current
- 14:3614:36, 12 February 2020 diff hist +34 N PhysicsAddShape CrosRoad95 moved page PhysicsAddShape to PhysicsAddChildShape current Tag: New redirect
- 14:3614:36, 12 February 2020 diff hist 0 m PhysicsAddChildShape CrosRoad95 moved page PhysicsAddShape to PhysicsAddChildShape
- 06:2606:26, 12 February 2020 diff hist −10 PhysicsAddChildShape →Example
11 February 2020
- 21:1721:17, 11 February 2020 diff hist +1,556 N PhysicsAddChildShape Created page with "__NOTOC__ {{Client function}} Adds child shape to already existing, compound shape. Limit: 8196 child shapes. ==Syntax== <syntaxhighlight lang="lua"> boolean physicsAddShap..."
- 14:4314:43, 11 February 2020 diff hist +105 Physics properties No edit summary
- 14:3214:32, 11 February 2020 diff hist +564 N PhysicsGetConstraints Created page with "__NOTOC__ {{Client function}} Returns all constraints created in specific physics world. ==Syntax== <syntaxhighlight lang="lua"> table physicsGetConstraints(physics thePhys..." current
- 14:3114:31, 11 February 2020 diff hist +616 N PhysicsGetStaticCollisions Created page with "__NOTOC__ {{Client function}} Returns all static collisions created in specific physics world. ==Syntax== <syntaxhighlight lang="lua"> table physicsGetStaticCollisions(phys..." current
- 14:2814:28, 11 February 2020 diff hist +562 N PhysicsGetRigidBodies Created page with "__NOTOC__ {{Client function}} Returns all rigid bodies created in specific physics world. ==Syntax== <syntaxhighlight lang="lua"> table physicsGetRigidBodies(physics thePhy..." current
9 February 2020
- 14:3714:37, 9 February 2020 diff hist +513 N PhysicsGetShapes Created page with "__NOTOC__ {{Client function}} Returns all shapes created in specific physics world. ==Syntax== <syntaxhighlight lang="lua"> table physicsGetShapes(physics thePhysics) </syn..." current
- 14:3514:35, 9 February 2020 diff hist +6 PhysicsDrawDebug →Example current
- 13:3313:33, 9 February 2020 diff hist +249 PhysicsRayCast →Example current
- 13:3113:31, 9 February 2020 diff hist +736 N Physics raycast type Created page with "===Physics raycast types=== used in *physicsRayCast =="isclear"== {|class="wikitable sortable" |- ! Key || Value || Description |- | hit || bool || do hit has occur |- |}..."
- 13:0513:05, 9 February 2020 diff hist +764 N PhysicsRayCast Created page with "__NOTOC__ {{Client function}} Perform ray cast between two positions. ==Syntax== <syntaxhighlight lang="lua"> raycast-result physicsRayCast(physics thePhysics, raycast-type..."
- 12:4612:46, 9 February 2020 diff hist +587 Physics properties →Physics properties
- 12:3812:38, 9 February 2020 diff hist +570 N PhysicsSetProperties Created page with "__NOTOC__ {{Client function}} Sets physics element properties. ==Syntax== <syntaxhighlight lang="lua"> bool physicsSetProperties(physics-element thePhysicsElement, string k..." current
- 10:0810:08, 9 February 2020 diff hist +593 N PhysicsDrawDebug Created page with "__NOTOC__ {{Client function}} Draws all static collisions and rigid bodies and other depends on debug mode. Use it once every frame just like other dxDraw functions ==Syntax..."
- 09:4609:46, 9 February 2020 diff hist +2,259 Physics properties No edit summary
- 09:3409:34, 9 February 2020 diff hist +736 N Physics properties Created page with "===Physics properties=== used in *physicsSetProperties *physicsGetProperties {|class="wikitable sortable" |- ! Name || Support || Access || Parametrs || Description |..."
- 09:1209:12, 9 February 2020 diff hist +1,899 N PhysicsCreateShape Created page with "__NOTOC__ {{Client function}} Creates physics shape used for static or dynamic collision detection ==Syntax== <syntaxhighlight lang="lua"> physics-shape physicsCreateShape(..."
8 February 2020
- 14:2214:22, 8 February 2020 diff hist +511 N PhysicsCreateWorld Created page with "__NOTOC__ {{Client function}} Creates physics world with default settings. ==Syntax== <syntaxhighlight lang="lua"> physics physicsCreateWorld( float gravityX= 0, float grav..."
- 14:2214:22, 8 February 2020 diff hist −448 User:CrosRoad95 No edit summary
- 13:4913:49, 8 February 2020 diff hist +689 N Template:Client physics functions Created page with "*physicsCreateWorld *physicsDestroy *physicsCreateRigidBody *physicsCreateRigidBodyFromModel *physicsCreateStaticCollision *physicsCreateShape *physi..."
- 13:1613:16, 8 February 2020 diff hist −146 User:CrosRoad95 No edit summary