Search results

Jump to navigation Jump to search
  • bool setCameraTarget ( player thePlayer [, player target = nil ] ) {{OOP||[[player]]:setCameraTarget|cameraTarget|getCameraTarget}}
    3 KB (398 words) - 12:36, 8 November 2018
  • bool setCameraTarget ( player thePlayer [, element target = nil ] ) {{OOP||[[player]]:setCameraTarget|cameraTarget|getCameraTarget}}
    3 KB (398 words) - 18:03, 12 March 2024
  • This function checks in which way the cursor is currently moving, it's updated version of https://wiki.multitheftauto.com/wiki/GetCursorMoveOn. setCameraTarget(localPlayer)
    2 KB (256 words) - 14:48, 8 June 2020
  • ...responds to the current target of the specified player's camera (i.e. what it is following). {{OOP||[[player]]:getCameraTarget|cameraTarget|setCameraTarget}}
    2 KB (182 words) - 08:08, 10 October 2020
  • {{Deprecated|setCameraTarget}} *'''mode:''' The mode to be set. It has the following possible values:
    2 KB (212 words) - 12:29, 26 June 2014
  • ...e camera lies, the last three are the point the camera faces (or the point it "looks at"). ...rotation. The camera's focus can be brought back to the player using the [[setCameraTarget]] function.}}
    4 KB (543 words) - 08:29, 10 October 2020
  • ...e camera lies, the last three are the point the camera faces (or the point it "looks at"). ...rotation. The camera's focus can be brought back to the player using the [[setCameraTarget]] function.}}
    4 KB (543 words) - 10:33, 11 August 2019
  • ...scripts, this page should probably be changed later, depending how useful it is. ...n any map file entry, MTA automatically recognizes it as a custom one when it starts. Its up to the script to decide how to deal with the information pro
    5 KB (744 words) - 07:07, 4 November 2020
  • setCameraTarget( localPlayer ) -- Move camera back after a delay ...me and you are trying to replace a model then get away from the model till it is gone from your draw distance for making sure that this problem won't hap
    3 KB (337 words) - 11:59, 7 July 2022
  • setCameraTarget(client, client) [[it:Introduzione_allo_scripting_della_GUI]]
    16 KB (646 words) - 13:09, 7 February 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
  • 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
  • ...] line in the "joinHandler" function in your code, as we will be replacing it with a GUI alternative in this tutorial)''. We'll also take a look at clien All the GUI must be made client-side. It is also a good practice to keep all the client scripts in a separate folder
    16 KB (2,481 words) - 12:19, 17 September 2023
  • * Removed VS2008 redistributable from installer as it is no longer required * Fixed [[setCameraTarget]] calculation (thanks to lex128)
    6 KB (739 words) - 19:41, 29 December 2022
  • ...a "resource", and they will all be unzipped and loaded by the server when it starts. To create your own resource, simply make a folder with your preferr ...folder in our case. So create a text file and name it "meta.xml", and open it with notepad.
    22 KB (3,205 words) - 05:39, 11 November 2013
  • ...n as being partly equivalent to a program running in an operating system - it can be started and stopped, and multiple resources can run at once. ...to do with scripting happens in resources, what a resource does defines if it is a gamemode, a map, or anything else. MTA comes with resources that you c
    22 KB (3,438 words) - 17:27, 9 March 2024
  • ...hand, however, your choice of type depends on the situation you are using it for. ...mean that all the components are attached to the window and will move with it, but also that any changes done to the parent window will be applied down t
    16 KB (2,457 words) - 12:11, 16 January 2022
  • -- 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
  • ...mean that all the components are attached to the window and will move with it, but also that any changes done to the parent window will be applied down t ...indow function is now complete, but it won't do anything until we call it. It is recommended to create all GUI when the client resource starts, hide them
    15 KB (2,448 words) - 12:30, 30 June 2013
  • setCameraTarget(source, source) ...ch from this tutorial is [[Introduction to Scripting GUI]], you may follow it to see how Graphical User Interface in MTA:DM is drawn and scripted.
    21 KB (3,450 words) - 03:43, 10 March 2013
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)