Search results

Jump to navigation Jump to search
  • destroyElement ( theZone ) -- if so, destroy it local x,y,z = getElementPosition ( creator )
    4 KB (525 words) - 17:40, 9 October 2018
  • This example creates an antenna, and changes the size of it. local x, y, z = getElementPosition(localPlayer)
    2 KB (215 words) - 14:37, 2 September 2022
  • local x, y, z = getElementPosition(localPlayer) -- Get player position ...mo(customWeapon, 99999) -- Set the ammo in clip of the weapon to 99999, so it never should reload
    2 KB (204 words) - 21:44, 7 May 2017
  • ...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 x1, y1, z1 = getElementPosition(vehicle)
    4 KB (405 words) - 21:54, 26 November 2023
  • ...le 1:''' This example attaches a marker to a vehicle, and detaches it when it blows up: local x,y,z = getElementPosition(source);
    2 KB (202 words) - 02:18, 12 August 2022
  • ...one element to another, so that the first one follows the second whenever it moves. ...w attachment. For example, if carA is asked to attached to carB then carC, it is only attached to carC.
    4 KB (492 words) - 16:27, 13 February 2015
  • Returns ''true'' if the position is inside the colshape, ''false'' if it isn't or if any parameters are invalid. return isInsideColShape( theColShape, getElementPosition( theElement ) )
    1 KB (131 words) - 14:07, 10 October 2018
  • This example gets the ammo of the custom weapon and outputs it to the chatbox. local position = Vector3(getElementPosition(localPlayer)) -- get the localPlayer position
    1 KB (146 words) - 14:05, 4 July 2016
  • 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
  • {{Warning|Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. Use [ {{OOP||[[element]]:setPosition|position|getElementPosition}}
    3 KB (346 words) - 18:55, 30 January 2022
  • local x, y, z = getElementPosition ( sourcePlayer ) -- Get the name of the car the player asked for and store it in the
    2 KB (242 words) - 11:31, 26 June 2014
  • local x, y, z = getElementPosition ( localPlayer ) This event and [[onClientRender]] will trigger whatever function it is attached to with every frame. Depending on the server's maximum FPS and
    1 KB (167 words) - 17:24, 30 July 2020
  • '''Attention:''' Do not use this function to spawn a [[player]]. It will cause problems with other functions like [[warpPedIntoVehicle]]. <br> {{OOP||[[element]]:setPosition|position|getElementPosition}}
    5 KB (579 words) - 16:20, 17 April 2016
  • ...to Google blocking non-user calls to their TTS API. Plase feel free to fix it by using another public and reliable TTS API.|1}} ...d table, the speech will be broadcasted to the players contained in it. If it's a element, the speech will be heard by the players which are children of
    6 KB (752 words) - 17:48, 8 May 2020
  • local x, y, z = getElementPosition ( thePlayer ) -- Get the name of the car the player asked for and store it in the
    2 KB (259 words) - 02:36, 19 April 2021
  • local x, y, z = getElementPosition(localPlayer) -- Give it some ammo and fire it
    2 KB (263 words) - 05:17, 26 August 2021
  • [[Image:dxDrawTextOnElement.png|thumb|Example of how it should looks like.|284x230px]] * ''TheElement'': The element you want to draw the text on it.
    4 KB (566 words) - 22:13, 23 May 2020
  • local playerX, playerY, playerZ = getElementPosition(source) -- get position of player outputChatBox("Rocket minigun overheated! Give it a rest pal!", source) -- output a message
    4 KB (455 words) - 11:49, 16 November 2023
  • ...log state of a specified [[ped]]'s control, as if they pressed or released it. local playerPosition = Vector3( getElementPosition( localPlayer ) )
    1 KB (167 words) - 00:54, 8 July 2018
View ( | ) (20 | 50 | 100 | 250 | 500)