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
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)