Search results

Jump to navigation Jump to search
  • ...tElementPosition (somewhere far away) and then destroyElement (which makes it explode). ...here the teargas got created, and also the teargas keeps getting warped to it. This will result in +/-60hp loss for the creator.
    2 KB (302 words) - 18:55, 7 September 2023
  • {{Warning|Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [ bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] )
    5 KB (677 words) - 21:23, 8 December 2018
  • ...pearing not to load them at all. Refer to the second example on that page, it's a client-side function and cannot be used next to assignLOD.}} setElementPosition(lod, getElementPosition(element))
    2 KB (225 words) - 19:07, 27 September 2023
  • bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] ) setElementPosition ( source, posX, posY, posZ )
    5 KB (635 words) - 02:48, 9 December 2012
  • '''Attention:''' Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. <br> bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] )
    5 KB (579 words) - 16:20, 17 April 2016
  • {{Warning|Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [ bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] )
    3 KB (346 words) - 18:55, 30 January 2022
  • bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] ) setElementPosition ( source, posX, posY, posZ )
    6 KB (510 words) - 23:46, 5 January 2017
  • This function creates a civilian. A civilian is a ped that acts like it would in single player. This snippet creates a civilian and warps the local player to it.
    860 bytes (114 words) - 20:14, 17 December 2013
  • ...special type of [[object]] that does not have physical properties itself. It is lightweight rendering and collidable instance on the GTA:SA world. As op This snippet creates a random building instance and warps the local player to it.
    1 KB (149 words) - 01:52, 12 January 2014
  • -- Checks whether or not the player has a jetpack, and gives or removes it from the player ...outputConsole ( "Failed to give jetpack.", thePlayer ) -- tell him if it failed
    2 KB (309 words) - 16:21, 13 February 2015
  • -- Checks whether or not the player has a jetpack, and gives or removes it from the player ...outputConsole ( "Failed to give jetpack.", thePlayer ) -- tell him if it failed
    2 KB (302 words) - 09:06, 9 November 2018
  • All devs with commit access should add stuff to these lists so it doesn't get lost ...om/p/mtasa-blue/source/detail?r=6132 6132] TODO * Update for r5934 - Fixed setElementPosition for trains'''
    3 KB (390 words) - 19:32, 4 August 2015
  • == Turning it on == [[Vector|Vectors]] and [[Matrix|Matrices]] make it easier to drop the complex maths and go straight ahead with fun part of mat
    2 KB (280 words) - 05:47, 6 November 2023
  • ...позиции [[звук|элемента звука]] можно использовать [[RU/setElementPosition|setElementPosition]]. Не забывайте использовать [[RU/setElementDimensio ...нкция поддерживает только следующие форматы: MP3, WAV, OGG, RIFF, MOD, XM, IT и S3M.
    4 KB (181 words) - 22:10, 18 August 2021
  • .... Remember to use [[setElementDimension]] after creating the sound to play it outside of dimension 0. ...only supported audio formats are MP3, WAV, OGG, FLAC, RIFF, MOD, WEBM, XM, IT and S3M.
    3 KB (451 words) - 16:34, 3 November 2023
  • ...lo reproduce inmediatamente después de la creación para el jugador local. setElementPosition es utilizable para este elemento. ...': Los formatos de audio soportados sólo son MP3, WAV, OGG, RIFF, MOD, XM, IT y S3M.
    1 KB (186 words) - 23:38, 21 April 2013
  • '''Available client side from 1.3.1''' (It will only work with client side vehicles and peds) {{Important Note|If you used [[setElementPosition]] to spawn the [[ped]]/[[player]], this function will not work and returns
    2 KB (220 words) - 19:02, 30 January 2022
  • ...ان يتم تكوين الصوت باستخدام الوظيفة GTA لتحريك الصوت في اي مكان في عالم [[setElementPosition]] يمكن استخدام MP3 و WAV و OGG و RIFF و MOD و XM و IT و S3M :الصيغات المدعومة هي التالي :t'''ملاحظة
    2 KB (148 words) - 22:10, 18 August 2021
  • This function attempts to read a boolean (native type) from a file and return it. The amount of bytes read should be one. Returns a boolean if it was successfully read from the file, '''nil''' otherwise.
    5 KB (490 words) - 03:04, 23 January 2022
  • This function attempts to read a boolean (native type) from a file and return it. The amount of bytes read should be one. Returns a boolean if it was successfully read from the file, '''nil''' otherwise.
    5 KB (484 words) - 23:44, 16 January 2022
  • ...ple will make every player to look completely black without using shaders. It will also dark vehicles he uses too. ...s(localPlayer) -- Every standard player model has the same radius, so save it for quicker access
    4 KB (488 words) - 13:41, 7 October 2017
  • Under /client/ directory, create a text file and name it "gui.lua". ...clude the new gui.lua file in the meta.xml of the main resource, and label it as a client script:
    12 KB (1,771 words) - 22:21, 5 November 2018
  • ...MTA functions and events. It should only be used when debugging scripts as it may degrade script performance. addDebugHook( "preFunction", onPreFunction, {"setElementPosition","loadstring"} )
    5 KB (481 words) - 23:48, 7 August 2020
  • ...t]] a GTA világban, majd rögtön azután le is játssza azt a játékosnak. A [[setElementPosition]]-t használhatjuk a hangelem mozgatásához azután, hogy létrehoztuk. Ne *Támogatott audió formátumok: MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS.
    3 KB (520 words) - 22:17, 19 September 2021
  • It can also be used to interpolate 2D vectors or scalars by only setting some ...the beginning of the interpolation, 1 at the end). If it is higher than 1, it will start from the beginning.
    9 KB (1,196 words) - 00:34, 30 April 2021
  • ...[Element]] in der GTA Welt spielt ihn sofort ab für den lokalen Spieler. [[setElementPosition]] kann genutzt werden zum Positionieren des [[Sound]] Elements nachdem es e *Die unterstützten Audio-Formate sind MP3, WAV, OGG, RIFF, MOD, XM, IT und S3M.
    3 KB (427 words) - 22:10, 18 August 2021
  • ...n ACL. Make sure to add the command to your ACL under the proper group for it to be usefull (i.e <right name="command.killEveryone" access="true"></right ...his will create a red marker at the position of the player player who uses it.
    9 KB (1,360 words) - 01:59, 29 January 2024
  • ...o reproduz imediatamente para o [[player|jogador]] local. Você pode usar [[setElementPosition]] para mover elementos de [[sound|áudio]] já criados. Lembre-se de usar [ * Os únicos formatos suportados são: MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M e PLS (streams da web).
    3 KB (467 words) - 20:12, 1 April 2023
  • * If the player's map is showing, it returns four integers: ''minX'', ''minY'', ''maxX'', ''maxY''. These are ' ...he left mouse button in the desired place in the F11 world map, and delete it by clicking with the right mouse button.
    7 KB (923 words) - 17:39, 2 July 2016
  • ...po stworzeniu dźwięku chcesz zmienić jego pozycję, skorzystaj z funkcji [[setElementPosition]]. Akutalnie wspierane formaty audio to MP3, WAV, OGG, RIFF, MOD, XM, IT oraz S3M.
    3 KB (457 words) - 11:14, 21 July 2016
  • {{Important Note|If you're working with dimensions, be sure to apply it by using [[setElementDimension]].}} ...cessful, ''false'' otherwise. The water element can be repositioned with [[setElementPosition]] and destroyed with [[destroyElement]].
    4 KB (479 words) - 10:12, 30 January 2022
  • ...object" individually. Instead of having to call a function and referencing it inside the call, you actually call the function INSIDE the class. ...I say ''object'', I don't mean [[createObject]] (unless I actually mention it), but to make things clearer I will avoid mentioning physical objects as I
    9 KB (1,385 words) - 05:52, 6 November 2023
  • ...n ACL. Make sure to add the command to your ACL under the proper group for it to be usefull (i.e <right name="command.killEveryone" access="true"></right ...his will create a red marker at the position of the player player who uses it.
    10 KB (1,168 words) - 08:44, 7 September 2019
  • {{Important Note|If you're working with dimensions, be sure to apply it by using [[setElementDimension]].}} ...keresen létre lett hozva, egyébként ''false''. A víz át pozícionálható a [[setElementPosition]] funckióval törölni a [[destroyElement]] funkcióval lehetséges.
    4 KB (521 words) - 19:19, 21 February 2021
  • ...these three coordinates, a single Vector3 object may be inserted to clone it. setElementPosition(player, newPlayerPosition)
    10 KB (1,278 words) - 12:10, 15 January 2022
  • setElementPosition(element, 0, 0, -1000) ...bone #3 of the local player with a small position and rotation offset, so it looks nice
    6 KB (661 words) - 13:02, 5 July 2022
  • ...oat values that multiplied to a point will give you the point transformed. It is most useful for matrix calculations such as calculating offsets. For fur setElementPosition (z, nx, ny, nz)
    5 KB (724 words) - 22:08, 25 December 2020
  • -- this turns on wordwrap so if your text goes over the edge of the label, it will wrap around and start a new line automatically -- this means it will only trigger when its own resource is started
    13 KB (1,992 words) - 08:28, 12 November 2018
  • -- If a player triggered it (rather than the admin) then -- Output it in his chat box
    9 KB (1,470 words) - 18:31, 21 February 2021
  • To use it, you need to add library to your class-path. It's included in the zip file below.
    21 KB (2,792 words) - 20:47, 23 September 2016