Search results

Jump to navigation Jump to search
  • <syntaxhighlight lang="lua">addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource( ) ), -- only execute the code wh ...dOnly( memo, true ) -- make it read only, so players won't be able to edit it in-game
    1 KB (141 words) - 13:56, 10 August 2021
  • This example creates a gui window and sets it to be not sizable -- set it to be not sizable
    1 KB (130 words) - 11:35, 7 August 2019
  • <syntaxhighlight lang="lua">addEventHandler( "onClientResourceStart", resourceRoot, -- only execute the code when this resource restarts ...dOnly( memo, true ) -- make it read only, so players won't be able to edit it in-game
    1 KB (142 words) - 23:20, 11 January 2023
  • Returns [[element]] of the progress bar if it was created succesfully, ''false'' otherwise. ...es a progress bar to player's screen on client resource start and destroys it when client resource stops.
    2 KB (309 words) - 08:09, 30 October 2023
  • if advert then -- if it was successfully created DGS:dgsMemoSetReadOnly( advert, true ) -- make it read only
    1 KB (133 words) - 10:56, 20 January 2018
  • if password then -- if it was successfully created guiEditSetMasked( password, true ) -- make it masked
    1 KB (139 words) - 16:44, 14 May 2021
  • ...es a little advert field on the bottom right corner of the screen and sets it to read only. if advert then -- if it was successfully created
    1 KB (176 words) - 20:57, 7 November 2018
  • if advert then -- if it was successfully created DGS:dgsEditSetReadOnly( advert, true ) -- make it read only
    1 KB (136 words) - 09:22, 15 July 2018
  • ...ello" and "World!" and chooses randomly which of these two grid list items it will retrieve. addEventHandler ( "onClientResourceStart", resourceRoot, clientsideResourceStart )</syntaxhighlight>
    3 KB (325 words) - 18:47, 28 October 2021
  • ...ere the camera actually wants to be, the camera will try to be in front of it. This function can disable that. This function enables it to look through cars
    1 KB (145 words) - 06:20, 20 January 2022
  • Note = The returned value it's a [[Vector2]]| addEventHandler ( "onClientResourceStart", resourceRoot, checkResolutionOnStart )
    1 KB (181 words) - 22:38, 3 May 2021
  • if advert then -- if it was successfully created guiEditSetReadOnly( advert, true ) -- make it read-only
    1 KB (152 words) - 20:57, 7 November 2018
  • * ''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
  • ...'true'' if the player was successfully logged out, ''false'' or ''nil'' if it failed for some reason, ie. the player was never logged in. ...is (re)started. This would be handy for resources that show a login screen onClientResourceStart.
    1 KB (174 words) - 15:06, 12 April 2021
  • ...te|The file functions should not be used to implement configuration files. It is encouraged to use the XML functions for this instead.}} * '''overwrite''': If set to true it will overwrite a file that already exists at copyToFilePath.
    2 KB (300 words) - 17:35, 20 December 2023
  • Returns the item ID if it has been created, ''false'' otherwise. addEventHandler("onClientResourceStart", resourceRoot, function()
    839 bytes (98 words) - 09:27, 17 January 2021
  • 因此,我们需要为GUI窗口创建一个'''事件触发器''',事件触发器的事件为 "[[onClientResourceStart]]": addEventHandler("onClientResourceStart", getResourceRootElement(),
    16 KB (646 words) - 13:09, 7 February 2021
  • ...f the stream radius is lower than 180, then the blip will only appear when it is visible on the radar. ...f the stream radius is lower than 180, then the blip will only appear when it is visible on the radar.
    4 KB (447 words) - 18:22, 1 January 2017
  • It's recommended to use server-side function with appropriate [[mtaserver.conf ...A:SA easter egg, which increases the size of the moon every time you shoot it with a sniper rifle (default: false)
    4 KB (487 words) - 14:27, 4 June 2024
  • MP3 و WAV و OGG و RIFF و MOD و XM و IT و S3M :الصيغات المدعومة هي التالي :t'''ملاحظة addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
    2 KB (148 words) - 22:10, 18 August 2021
View ( | ) (20 | 50 | 100 | 250 | 500)