Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/07/24 in all areas

  1. Thanks again, your knowledge and insight are very much appreciated. I bit the bullet and installed a VM to test my map with more than one player and, miracle of miracles, it worked! I'll definitely use your examples in future though... serverside stuff still scares me a bit lol
    1 point
  2. You could use for the markers: local markers = { { -- marker data otherProp = '????', element = '<marker element>' }, { -- marker data otherProp = '????', element = '<marker element>' }, } Loops are not needed if you use the `player` as key. And as for the players and their data: ---@type {[userdata]: {[string]: any}} local playerData = {} --- Give a player their own table/data ---@param player userdata function initPlayerData(player) if playerData[player] then return end playerData[player] = {} -- < sub table end ---@param player userdata ---@param key string ---@param data any function setPlayerData(player, key, data) if not playerData[player] then return end playerData[player][key] = data end ---@param player userdata ---@param key string ---@return unknown|nil function getPlayerData(player, key) if not playerData[player] then return end return playerData[player][key] end Usage example: --- SET setPlayerData(player, "nextMarker", marker) --- GET local marker = getPlayerData(player, "nextMarker")
    1 point
  3. @IIYAMA For the next step we have to look at this screenshot: (404 not found)
    1 point
  4. Hello, because that link was for a previous version (3.2.0), and 3.3.0 is the only one supported: https://github.com/Fernando-A-Rocha/mtasa-resources/releases/tag/v3.3.0-newmodels-editor
    1 point
  5. Sphene is a SCM Interpreter in development for Multi Theft Auto. It is capable of running the mission scripts and parsing many other game files in order to recreate the storyline, minigames and anything else the default game has within Multi Theft Auto. We will then add Co-Op on top of it. In this video you are able to see Sphene run the N.O.E mission with only very minor bugs (such as the radar sound not always working). We did not specifically target this mission but the more we are able to implement all the game logic the more parts of the game become available. This is the first mission to be fully playable from start to end.
    1 point
×
×
  • Create New...