Search results

Jump to navigation Jump to search
  • ...n will have no effect on vehicles with tanks that cannot be shot in single player. -- so we don't set the state-reset timer twice when reentering a vulnerable vehicle
    2 KB (278 words) - 14:11, 13 June 2021
  • ...stance being a creation of a class - an element class, a database class, a player, a vehicle. Originally, everything was ''procedural'', you had to do things ...an instance - an object. Throughout the tutorial when I say ''object'', I don't mean [[createObject]] (unless I actually mention it), but to make things
    9 KB (1,385 words) - 05:52, 6 November 2023
  • It shows error if player isn't in vehicle or color failed to change. It shows a message if color cha return outputChatBox( "You don't have vehicle!" )
    2 KB (257 words) - 22:21, 18 December 2014
  • * Remember that 99% of the time it's a bug in your script, not an MTA bug! Don't report something to GitHub Issues until you're absolutely certain the bug ...pt will create it for everyone nearby, else people will be wondering why a player appears to be constantly floating and falling.
    8 KB (1,269 words) - 17:30, 2 August 2023
  • triggerClientEvent(getElementsWithinColShape(col, "player"), "playChatTTS", source, text) -- Tell the nearby clients to play the soun ...tion().code):sub(1, 2) -- Output the TTS in the local player language, but don't bother about variants
    6 KB (752 words) - 17:48, 8 May 2020
  • |Don't use static lighting, we want dynamic if it's possible. ...tag. Object will switch from mesh 2 to mesh 1 after getting sprayed by the player.
    2 KB (323 words) - 13:07, 20 April 2023
  • ...hings like 'player player, vehicle vehicle', instead write something like 'player thePlayer, vehicle vehicleToGetInto'. This is less confusing and prevents t ...area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
    5 KB (426 words) - 20:58, 14 June 2021
  • **'''autoplay=1''' This will auto play the video, otherwise the player will only see the video thumbnail. This is a required code. ...ar white instead of red. There are not other colors. Only aplicable if you don't use '''controls=0''' code.
    5 KB (710 words) - 05:45, 3 March 2023
  • * Server - Core: Cazomino05: "I genuinely don't really know why we have server core." * showwepdata - shows the given player weapon data (nick)
    5 KB (671 words) - 17:37, 12 March 2020
  • ...on offset automatically. It works exactly like [[attachElements]] but you don't need to provide offset parameters. ...example attach a vehicle into another at the same position it is when the player uses the command /attach.<br>
    3 KB (358 words) - 10:45, 29 October 2023
  • *'''x:''' A float of the 2D x position of the window on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the window on a player's screen. This is affected by the ''relative'' argument.
    5 KB (673 words) - 15:14, 21 April 2021
  • *'''x:''' A float of the 2D x position of the GUI window on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI window on a player's screen. This is affected by the ''relative'' argument.
    5 KB (671 words) - 17:10, 5 December 2016
  • 34 bytes (4 words) - 21:54, 29 April 2010
  • *'''x:''' A float of the 2D x position of the GUI window on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the GUI window on a player's screen. This is affected by the ''relative'' argument.
    5 KB (685 words) - 07:50, 30 October 2023
  • ...X'', ''maxY''. These are '''absolute''' position coordinates of where the player's map is drawn on the screen. -- If the cursor is not showing, show it, so the player can click on the desired target point
    7 KB (923 words) - 17:39, 2 July 2016
  • As Australian and German EXEs don't work reliably with MTA, this shouldn't be a huge problem. Try to obtain a Make sure you run GTA3 or Vice City at least once in single player without MTA before actually running it with MTA. If that doesn't work, try
    6 KB (1,116 words) - 18:44, 1 January 2017
  • As Australian and German EXEs don't work reliably with MTA, this shouldn't be a huge problem. Try to obtain a Make sure you run GTA3 or Vice City at least once in single player without MTA before actually running it with MTA. If that doesn't work, try
    6 KB (1,115 words) - 20:15, 26 August 2016
  • ...uts any errors you've made in the script. It speed up progress because you don't have to go into game and restart the resource to check if you fixed the s *'''Sound player''' - preview sounds by double-clicking sound file in the resource explorer:
    9 KB (1,534 words) - 17:02, 5 September 2017
  • Keep in mind the bandwidth issues when using events - don't pass a large list of arguments unless you really need to. '''It is margin ...alPlayer]] by parameter or source. Otherwise event faking (passing another player instead of the [[localPlayer]]) would be possible. For more information see
    10 KB (1,405 words) - 22:38, 29 April 2024
  • *'''clip:''' if set to ''true'', the parts of the text that don't fit within the bounding box will be cut off. ...rX, playerY, playerZ = getElementPosition ( localPlayer ) -- Get our player's coordinates.
    5 KB (692 words) - 08:15, 5 November 2023
View ( | ) (20 | 50 | 100 | 250 | 500)