Search results

Jump to navigation Jump to search
  • ...GTA-világban a járműveket jelenti. A járműveket a játákosok irányíhatják és birtokolhatják. ...s turret's rotation around the Z axis, in radians. Relative to the vehicle's rotation, i.e. turretX=0 will always make the turret point in the same dire
    3 KB (496 words) - 20:31, 14 April 2021
  • print("Indeed, it's not added") print("Seems like it's added")
    1 KB (147 words) - 09:33, 16 February 2023
  • ...''' A float of the 2D x position of start position of the line on a player's screen. This is affected by the ''relative'' argument. ...''' A float of the 2D y position of start position of the line on a player's screen. This is affected by the ''relative'' argument.
    2 KB (263 words) - 12:03, 10 January 2023
  • The [[event system#Event source|source]] of this event is the resource's root element. This example will output the file's resource name/file name/size/state when downloading:
    1 KB (161 words) - 15:53, 27 December 2023
  • ...ample adds a "setpos" command to console, which allows setting of a player's position. ...ds a "setpos" command to console, which allows setting of the local player's position.
    5 KB (635 words) - 02:48, 9 December 2012
  • This function allows retrieval of the position a ped's target range begins, when he is aiming with a weapon. Returns three floats, x,y,z, representing the position where the ped's target starts, or ''false'' if it was unsuccessful.
    1 KB (161 words) - 11:05, 31 May 2023
  • setPlayerArmor ( player, 100 ) --Set player's armor to 100 when he types the command 'addarmor' setPlayerArmor ( player, 0 ) --Set player's armor to 0 when he types the command 'removearmor'
    1 KB (148 words) - 22:00, 5 July 2014
  • This function tells you which weapon type is in the player's current slot (clientside, you can optionally specify a slot other than the This serverside example will display a player's current weapon type. In this case, it is hard coded to use the player calle
    2 KB (297 words) - 11:25, 26 June 2014
  • ...ényesek. Az alpha dönti el az átlátszóságot, ahol a 255 az átláthatatlan és a 0 pedig teljesen átlátszó. ''false'' értéket ad vissza, ha a blip é Ez a példa megtalálja az összes létező blip-et, és mindet fehérre állítja, ha nem fehér volt alapból.
    2 KB (277 words) - 13:01, 21 August 2018
  • Note = The returned value it's a [[Vector2]]| This returns two floats representing the player's screen resolution, ''width'' and ''height''.
    1 KB (181 words) - 22:38, 3 May 2021
  • This example will toggle the car lights on and off for a player's vehicle ...theVehicle = getPlayerOccupiedVehicle ( source ) -- get the player's vehicle
    1 KB (139 words) - 16:10, 13 October 2014
  • account = getPlayerAccount ( player ) -- Get every player's account if ( not isGuestAccount ( account ) ) then -- For every player that's logged in....
    1 KB (174 words) - 15:06, 12 April 2021
  • ...on gibt die [[ID]] eines [[Element]]'s aus. Das ist die ID des [[Element]]'s, doch nicht die [[Vehicle]]-ID, [[Weapon]]-ID etc. Die Funktion gibt einen ''string'' aus, welcher die ID des [[Element]]s enthält. Sie wird einen leeren ''string'' ausgeben, wenn das Element keine
    1 KB (152 words) - 02:11, 24 August 2013
  • -- print the old and the new vehicle's dimension outputChatBox (inspect (source) .. "'s dimension changed from " .. oldDimension .. " to " .. newDimension)
    1 KB (153 words) - 14:32, 31 December 2022
  • setElementDimension ( theVehicle, 1 ) -- set his vehicle's dimension to 1 as well ...seat == 0 ) then -- if the player is in dimension 1 and was in the driver's seat
    2 KB (237 words) - 13:54, 6 August 2016
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type -->
    2 KB (181 words) - 07:10, 6 February 2021
  • *'''startRadius''': the radius of the searchlight's light cone in its beginning. ...p of Los Santos' skyscraper and turns it on/off every second by setting it's ending radius and starting radius to 0.
    1 KB (138 words) - 11:12, 20 March 2019
  • *'''endRadius''': the radius of the searchlight's light cone in its end. ...p of Los Santos' skyscraper and turns it on/off every second by setting it's ending radius and starting radius to 0.
    1 KB (138 words) - 11:12, 20 March 2019
  • This example displays the states of the vehicle's wheels and changes their states if any arguments were passed. if ( newFLeft ) then -- if there's at least one argument passed, we change the wheel states
    4 KB (458 words) - 20:54, 9 September 2019
  • ...ation: " .. location, getRootElement(), 0, 255, 255 ) -- Output the player's name and zone name
    1 KB (154 words) - 22:30, 6 September 2024
View ( | ) (20 | 50 | 100 | 250 | 500)