Search results
Jump to navigation
Jump to search
- ...pletely downloaded, so a resource cannot use this function to detect if it's own files are downloaded. A client-side resource triggers the [[onClientRes1 KB (162 words) - 12:02, 4 October 2020
- This will set player's debug level, equivalent to [[Debugging|debugscript <level>]]. ...uld be the argument's name as in the argument list above, NOT the argument's data type -->2 KB (266 words) - 22:43, 6 September 2024
- ...exists, ''false'' in the first variable and ''nil'' in the other two if it's invalid.1 KB (169 words) - 08:06, 4 November 2020
- ..."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 time3 KB (373 words) - 18:31, 31 January 2022
- ...''' A float of the 2D x position of start position of the line on a player's screen, set to nil to use the end position of previous item. This is affec ...''' A float of the 2D y position of start position of the line on a player's screen, set to nil to use the end position of previous item. This is affec2 KB (268 words) - 12:37, 7 February 2022
- Binds a player's key to a handler function or command, which will be called when the key is *'''handlerFunction:''' The function that will be triggered when the player's key is pressed. This function should have the form:8 KB (1,156 words) - 19:46, 19 March 2024
- This function sets the player's weapon slot. This affects the current weapon. Returns ''true'' if successful in setting the player's equipped weapon slot, ''false'' otherwise.2 KB (191 words) - 21:38, 20 April 2011
- Changes a ped's fighting style. Most styles only change the 'special attack' which is done This example sets the player's fighting style to the desired style when he types "setstyle" followed by a1 KB (164 words) - 15:44, 11 September 2024
- This function allows retrieval of the position where a ped's target range ends, when he is aiming with a weapon. ...s three floats, ''x'',''y'',''z'', representing the position where the ped's target ends according to his range, or ''false'' if it was unsuccessful.1 KB (169 words) - 18:30, 5 December 2014
- *'''x:''' A float of the 2D x position of the radio button on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the radio button on a player's screen. This is affected by the ''relative'' argument.3 KB (373 words) - 08:10, 30 October 2023
- If succesful, returns three ''float''s that represent the element's current velocity along the ''x'', ''y'', and ''z'' axis respectively. This outputChatBox ( "Someguy's current velocity: " .. mps .. " metres per second." )2 KB (289 words) - 17:49, 25 May 2018
- Returns ''true'' if the radio button's selection state was successfully set, ''false'' otherwise. ...reates a radio button then checks if one is selected and if it is, then it's output the title and sets the next radio button selected. (TESTED!)1 KB (150 words) - 19:31, 6 September 2021
- ...[guiScrollPaneGetVerticalScrollPosition]] to read and modify the scrollbar's scroll. ...n 0 and 1, representing sizes/positions as a fraction of the parent widget's size.2 KB (255 words) - 08:05, 30 October 2023
- If this event is [[Event system#Canceling|canceled]], the game's chat system won't deliver the message. You may use [[outputChatBox]] to sen outputChatBox("Bob is not accepting PM's at this time.",source,255,0,0) -- And output it was cancelled.1 KB (180 words) - 21:37, 23 May 2024
- ...uld be the argument's name as in the argument list above, NOT the argument's data type -->1 KB (178 words) - 10:43, 30 January 2022
- Returns ''true'' if the player's chat was shown or hidden successfully, ''false'' otherwise. Returns ''true'' if the player's chat was shown or hidden successfully, ''false'' otherwise.2 KB (234 words) - 19:24, 5 May 2016
- outputChatBox(("%s has banned %s"):format(getPlayerName(banner), getPlayerName(source)), root, 255, 0, 0)1 KB (208 words) - 15:01, 22 September 2017
- ...vehicle's turret, if it has one. This can be used to influence the turret's rotation, so it doesn't follow the camera. Vehicles with turrets include fi1 KB (170 words) - 23:23, 17 December 2014
- ...the first item). If -1 is specified, then the combo box text is set to it's ''caption''. ...etVisible(dgsWindow,true) -- we set it visible again. Strictly speaking it's not necessary, could have omitted both this and the upper dgsSetVisible, bu2 KB (293 words) - 11:13, 20 January 2018
- ...uld be the argument's name as in the argument list above, NOT the argument's data type --> Returns the player's current fighting style as an integer ID, ''false'' if it fails to retrieve2 KB (295 words) - 16:30, 13 February 2015