Search results

Jump to navigation Jump to search
  • ...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.}} local lod = createObject(getElementModel(element),0, 0 ,0, 0, 0, 0, true)
    2 KB (225 words) - 19:07, 27 September 2023
  • ...s not fully visible. If a low LOD element is assigned to several elements, it will be displayed when any of these elements are not fully visible. objNormal = createObject ( 3620, x,y,z,0,0,0 )
    3 KB (399 words) - 14:13, 7 August 2016
  • ...example checks if the object created is breakable and if it is then breaks it. local object = createObject (id, x, y, z)
    900 bytes (112 words) - 22:23, 16 September 2016
  • ...example checks if the object created is breakable and if it is then breaks it. local object = createObject (id, x, y, z)
    1 KB (140 words) - 16:30, 6 August 2016
  • ...lly creates an object then get's the mass and set's its mass 300 more than it's original mass, then tell the client the old and new mass of the object. <syntaxhighlight lang="lua">local object = createObject(1225,0,0,3)
    1 KB (133 words) - 23:08, 4 October 2014
  • ...lly creates an object then get's the mass and set's its mass 300 more than it's original mass, then tell the client the old and new mass of the object. <syntaxhighlight lang="lua">local object = createObject(1337,0,0,3)
    986 bytes (126 words) - 16:52, 19 March 2016
  • * ''false'' if it can't or if invalid arguments are passed. This example creates an object when the resource starts and sets it to be breakable.
    1 KB (147 words) - 21:31, 16 April 2023
  • sm.object1 = createObject(1337, x1, y1, z1) sm.object2 = createObject(1337, x1t, y1t, z1t)
    6 KB (686 words) - 10:37, 29 October 2023
  • ...and named ''getscale'' which creates an object and prints out the scale of it. local theObject = createObject(1337, getElementPosition(localPlayer))
    991 bytes (122 words) - 14:19, 2 February 2021
  • ...ot virtualized (streamed out from GTA) when the player moves far away from it. This function only works in elements with a physical representation in the ...he same type or not) to stream out, GTA will always try to render them, so it can cause a noticeable FPS drop.}}
    2 KB (272 words) - 15:57, 13 August 2015
  • obj = createObject( modelId, x,y,z ) objLOD = createObject( modelIdLOD, x,y,z, 0, 0, 0, true )
    3 KB (337 words) - 11:59, 7 July 2022
  • myobject = createObject ( 5822, -1084.52, -1634.81, 76.36 ) ...- Choose a random number between 1 and 18000 as a whole integer and assign it to
    1 KB (194 words) - 09:12, 9 November 2018
  • This example creates an antenna, and changes the size of it. local antennaObject = createObject(1595, x + 2, y, z)
    2 KB (215 words) - 14:37, 2 September 2022
  • This function attempts to read a double (native type) from a file and return it. The amount of bytes read should be eight. Returns a double if it was successfully read from the file, '''false''' otherwise.
    3 KB (349 words) - 03:04, 23 January 2022
  • This function attempts to read a double (native type) from a file and return it. The amount of bytes read should be eight. Returns a double if it was successfully read from the file, '''false''' otherwise.
    3 KB (343 words) - 23:42, 16 January 2022
  • ...tType(ban))--if the argument is not a ban, then checks its type and output it into the chat box. local object = createObject(2600,0,0,0)
    1 KB (187 words) - 21:06, 11 July 2019
  • ...el (of a bed) near a player called ''someguy'', if they exist in the game. It will then move the model towards the player over 3 seconds. bed = createObject ( 1700, x + 5, y, z )
    5 KB (672 words) - 23:13, 17 July 2022
  • This function takes two sets of XYZ coordinates. It returns the 3D direction from point A to point B. This can for example be u This command makes the player's vehicle to rotate at vehicle near it.
    3 KB (404 words) - 14:24, 21 March 2023
  • local claymoreObject = createObject ( 1945, x, y, z - 1, 0, 0, 90 ) --create an object which looks like a claym ...tData ( claymoreCol , "type", "claymore" ) --store the type of colshape so it can be retrieved
    3 KB (429 words) - 09:26, 6 November 2023
  • local theGun = createObject(358, 0, 0, 0) local thePara = createObject(371, 0, 0, 0)
    6 KB (661 words) - 13:02, 5 July 2022
  • destroyElement ( theZone ) -- if so, destroy it local claymoreObject = createObject ( 1945, x, y, z - 1, 0, 0, 90 ) --create an object which looks like a claym
    4 KB (525 words) - 17:40, 9 October 2018
  • This function destroys an [[element]] and all elements within it in the hierarchy (its children, the children of those children etc). [[play ...successfully, ''false'' if either the element passed to it was invalid or it could not be destroyed for some other reason (for example, clientside destr
    5 KB (689 words) - 18:11, 17 November 2021
  • ...unction creates a camera object at a specified location in the game world. It then sets up a timer to check the speed of all vehicles in the game every s local camera = createObject(modelId, x, y, z)
    4 KB (405 words) - 21:54, 26 November 2023
  • * ''"OutElastic"'' can define ''fEasingPeriod'' and ''fEasingAmplitude'' so it can be used with ''getEasingValue( fProgress, "OutElastic", 0.3, 1.0 )'' * ''"InBack"'' can define ''fEasingOvershoot'', but since it comes after ''fEasingPeriod'' and ''fEasingAmplitude'' in the order of para
    8 KB (1,103 words) - 12:36, 6 January 2022
  • ...ator:''' the explosion's simulated creator, the [[player]] responsible for it. local claymoreObject = createObject ( 1945, x, y, z - 1, 0, 0, 90 ) --create an object which looks like a claym
    6 KB (763 words) - 11:44, 11 January 2024
  • mainObject = createObject ( 17050, mainPos[1], mainPos[2], mainPos[3], mainRot[1], mainRot[2], mainRo -- Otherwise it will look all funny
    3 KB (398 words) - 01:07, 10 April 2011
  • ...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
  • createObject ( 1337, posX, posY, posZ ) Having read the section above it should be clear that a gamemode should always consist of two parts:
    8 KB (1,232 words) - 17:39, 21 August 2012
  • ...ns that the gamemode code does not have any map-specific data hardcoded in it, like the positions of players or cars. Instead, the gamemode should be abl An obvious example of a "proper gamemode" is MTA:Race. It allows user-made maps with lots of possibilities within the .map file. To a
    9 KB (1,419 words) - 19:49, 19 April 2020
  • createObject ( 1337, posX, posY, posZ ) Having read the section above it should be clear that a gamemode should always consist of two parts:
    9 KB (1,550 words) - 18:13, 18 November 2018
  • {{IT/MainP}} [[Category:IT/Guide e tutorial]]
    10 KB (1,401 words) - 11:41, 11 June 2023
  • An obvious example of a "proper gamemode" is MTA:Race. It allows usermade maps with lots of possibilities within the .map file. To al createObject ( 1337, posX, posY, posZ )
    10 KB (1,634 words) - 10:01, 23 December 2014
  • createObject ( 1337, posX, posY, posZ ) [[it:Scrivere una gamemode]]
    10 KB (1,564 words) - 23:44, 6 July 2014
  • createObject ( 1337, posX, posY, posZ ) [[it:Scrivere una gamemode]]
    10 KB (1,449 words) - 19:47, 30 June 2022
  • createObject ( 1337, posX, posY, posZ ) [[it:Scrivere una gamemode]]
    10 KB (1,622 words) - 18:36, 9 November 2022
  • createObject ( 1337, posX, posY, posZ ) [[it:Scrivere una gamemode]]
    16 KB (265 words) - 03:06, 1 April 2016