Search results

Jump to navigation Jump to search
  • ...function works more like ''try to free up at least this amount of bytes''. It usually ends up freeing everything that isn't currently needed (which, depe addEventHandler ("onClientResourceStart", resourceRoot,
    1,004 bytes (119 words) - 20:52, 23 September 2021
  • addEventHandler( "onClientResourceStart", resourceRoot, guiWindowSetMovable( window, false ) -- make it unmovable
    1 KB (114 words) - 18:21, 6 August 2019
  • ...on gets the dimensions of [[Texture_pixels|pixels]] contained in a string. It works with all pixel formats. addEventHandler('onClientResourceStart', resourceRoot, function()
    1 KB (134 words) - 08:53, 8 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
  • ...uses that occur when a new model is displayed for the first time. However, it can cause the new models to appear slightly later than they might have othe addEventHandler("onClientResourceStart", resourceRoot, function()
    2 KB (267 words) - 20:11, 23 September 2021
  • This example creates a selector with all server vehicles on it, with a command to clear the selector. addEventHandler ( "onClientResourceStart", resourceRoot,
    1 KB (129 words) - 20:16, 18 February 2023
  • addEventHandler( "onClientResourceStart", resourceRoot, guiWindowSetSizable( window, false ) -- make it unsizable
    1 KB (121 words) - 14:20, 27 April 2020
  • * '''weapon''': If the type is a Weapon pickup, then it represents the [[Weapon|weapon ID]] of the weapon pickup the 'ammo' field m This example changes the pickup time every time someone hits it
    4 KB (527 words) - 08:10, 4 November 2020
  • addEventHandler( "onClientResourceStart", resourceRoot, ...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
  • ...will cause an explosion and will kill the driver and any passengers inside it. ...:''' if this argument is ''true'' then the vehicle will explode, otherwise it will just be blown up silently.
    3 KB (422 words) - 22:33, 18 December 2014
  • ...te|The size can't be less than 5 or more than 150. Use this function after onClientResourceStart, otherwise some characters may be displayed incorrectly.}} =====It is highly recommended that [[dxSetTestMode]] is used when writing and testi
    2 KB (227 words) - 12:26, 21 January 2024
  • ...lor of a single pixel for [[Texture_pixels|pixels]] contained in a string. It only works with ''''plain'''' format pixels. This example creates a 64x64 texture with random pixel colors, and draw it on the screen.
    2 KB (199 words) - 17:32, 1 December 2018
  • This code creates a grid list and fills it with the names of the connected players. When the user selects an item, its addEventHandler('onClientResourceStart', resourceRoot, function()
    2 KB (217 words) - 19:05, 19 June 2024
  • ...image at the resource's start and changes its size to the original size so it keeps the best quality. addEventHandler("onClientResourceStart", resourceRoot,
    1 KB (144 words) - 14:20, 20 May 2018
  • * '''firingRate:''' The weapon firing rate. It seems to be a kind of frecuency value, so the lower the quicker the [[Eleme addEventHandler("onClientResourceStart", resourceRoot,
    1 KB (147 words) - 14:50, 4 July 2016
  • This example creates a combo box with all server vehicles on it, with a command to clear the combo box. addEventHandler ( "onClientResourceStart", resourceRoot,
    1 KB (144 words) - 20:38, 7 November 2018
  • Returns the value if it was received successfully, ''nil'' otherwise. Strings "true" and "false" wi * Last argument is optional for both functions. It used to store settings in XML file under resourceName node. Default argumen
    2 KB (254 words) - 18:04, 6 January 2018
  • This example creates a combo box with all server vehicles on it, with a command to clear the combo box. addEventHandler ( "onClientResourceStart", resourceRoot,function ( )
    1 KB (144 words) - 11:13, 20 January 2018
  • ...d allows you to set/get a color of label on the button when you hover over it. ...es an edit box alongside an "Output!" button. When the button is clicked, it will output the message in the text box into the Chat Box.
    2 KB (227 words) - 16:35, 11 February 2015
  • This example creates a player list on the right of the screen and fills it with players online and sets the grid list item color according to their na When the player clicks on a grid list item, it'll output the color of it.
    2 KB (275 words) - 21:13, 7 November 2018
View ( | ) (20 | 50 | 100 | 250 | 500)