Search results

Jump to navigation Jump to search
  • -- Retrieve the blip's icon into the variable 'blipIcon' -- If the blip's icon wasn't the default already
    1 KB (218 words) - 15:59, 24 February 2019
  • if (from_type == "nil" and not options.allowNew) and -- It's okay to merge previous nonexistent values if 'allowNew' is specified ...e.deepmerge' failed to merge incompatible types from '%s' to '%s' on key '%s'", from_type, to_type, key))
    2 KB (340 words) - 22:39, 12 August 2021
  • ...he first {{ml_birc|ircbot}} pointer of the bot with the specified name. It's useful if you don't have access to the variable where bot was originally st outputChatBox ( "There's no ircbot called " .. botName .. "!" )
    1 KB (134 words) - 08:48, 30 July 2009
  • local s = CustomButton.create(5 + 75*i, 5 + 30*j, 70, 25, "Button "..(i+1).. " "..( s:addEvent("onClientGUIClick", function()
    1,004 bytes (107 words) - 13:54, 4 August 2018
  • This function is used to show or hide the player's chat. Returns ''true'' if the player's chat was shown or hidden successfully, ''false'' otherwise.
    3 KB (380 words) - 21:37, 23 September 2021
  • *'''red:''' An integer indicating the amount of red for the vehicle's headlights *'''green:''' An integer indicating the amount of green for the vehicle's headlights
    2 KB (257 words) - 22:21, 18 December 2014
  • ...en in development for two years. Blue represents a major shift in the team's focus because they will be providing users with all the tools they need to ...bility and means that custom SCM files do not have to be moved to the game's directory when it is started.
    2 KB (351 words) - 10:40, 9 December 2021
  • * '''vehicle''': The [[vehicle]] you want to check if it's occupied or not. ...the first occupant found if the vehicle is being occupied, ''false'' if it's empty or invalid.
    2 KB (200 words) - 12:35, 19 July 2014
  • ...5.8|20935|This function allows you to set [[player|player's]] or [[ped|ped's]] bleeding effect.}}
    912 bytes (107 words) - 14:42, 1 October 2021
  • * '''fire''' Fire a player's weapon. ('''Note''': If you want to disable weapons fire, remember to also * '''aim_weapon''' Aim the player's current weapon. (if possible) (this also affects right-click + F punching)
    6 KB (790 words) - 22:27, 17 June 2023
  • ...h to full and fix its damage model. If you wish to only change the vehicle's health, without affecting its damage model, use [[setElementHealth]].
    977 bytes (133 words) - 13:34, 7 May 2018
  • ...nction returns an integer that contains the ammo in a specified [[player]]'s weapon. See [[weapon|Weapon Info]] Returns an [[int]] containing the amount of ammo in the player's currently selected clip, or 0 if the player specified is invalid.
    2 KB (215 words) - 16:24, 13 February 2015
  • outputDebugString"Yeah. It's set" To test if a flag is set or not it's easier using [[bitTest]].
    882 bytes (118 words) - 12:06, 2 June 2013
  • ..."joinTime", getTickCount() ) -- Store the current tick count in the player's data with the key 'joinTime' ...r ).." joined "..timeOnline.." seconds ago", source ) -- output the player's join time
    3 KB (359 words) - 18:35, 31 January 2022
  • ...very vehicle (including planes, boats, etc.) has a numberplate, even if it's not visible. if isPedInVehicle(localPlayer) then --let's check if they're in a vehicle
    2 KB (217 words) - 20:33, 13 October 2014
  • ...sparency of a dgs element. This function allows retrieval of a dgs element's current alpha. ...function returns a positive integer in between 0 and 1 of the dgs element's current alpha, or false if it could not be retrieved.
    3 KB (456 words) - 21:17, 3 May 2021
  • ...property is specified, it returns the value of the specific property. Here's a list of valid table properties and what they return: ...t ) == "vehicle" and type ( property ) == "string" then -- Make sure there's a valid vehicle and a property string
    2 KB (216 words) - 11:05, 31 July 2024
  • This example resets every vehicle's idle time when the resource is stopped. resetVehicleIdleTime ( vehicle ) -- Reset the vehicle's idle time
    1,010 bytes (126 words) - 23:04, 6 September 2024
  • This example binds the "p" key to a function to freeze/unfreeze the player's current vehicle. ...(thePlayer) -- This function freezes the specified player's vehicle, if he's in one
    2 KB (265 words) - 14:55, 11 June 2023
  • *'''fX:''' The collision sphere's center point's X axis position. *'''fY:''' The collision sphere's center point's Y axis position.
    3 KB (429 words) - 09:26, 6 November 2023
View ( | ) (20 | 50 | 100 | 250 | 500)