Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

61 Popular


About MIKI785

  • Rank
  • Birthday 21/04/1997


  • Location
    Dublin, Ireland

Recent Profile Visitors

3,250 profile views
  1. How to make a topic in this section:
  2. Is it server or client? If it's on the server, there is no need to declare the files in meta.xml for it to work. However, the resource that does the loading needs access to the general.ModifyOtherObjects permission to be able to read files located in other resources.
  3. There is no 'local player' on the serverside. It makes no sense as who would be 'local' to the server?
  4. No, engineLoadTXD takes either a file path or raw txd data.
  5. Are you just trying to move an object? Wouldn't using moveObject be sufficient?
  6. Can you post the code? onClientPreRender is a client event, it has nothing to do with the server.
  7. What? You should probably read this:
  8. I'm not sure about the nitro, I think it just gives you the nitro upgrade and that's it, the duration is handled by GTA itself. The vehicle change is here: https://github.com/multitheftauto/mtasa-resources/blob/master/[gamemodes]/[race]/race/race_client.Lua#L510 So it should be 1 metre.
  9. Simply use getPedOccupiedVehicle. ddEventHandler( "onClientRender",root, function( ) local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) for _, v in ipairs( getElementsByType 'player' ) do --if(player ~= localPlayer) then if not getPedOccupiedVehicle(v) then tx, ty, tz = getElementPosition( v ) dist = math.sqrt( ( px - tx ) ^ 2 + ( py - ty ) ^ 2 + ( pz - tz ) ^ 2 ) if dist < 30.0 then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false,localPlayer ) t
  10. See this: https://wiki.multitheftauto.com/wiki/EngineRequestModel
  11. You can find older builds here: https://nightly.mtasa.com/ although I don't understand why would you want an older one.
  12. local scale = {(sX/1920) * (sY/1080)}/2 You're making a table here, isn't it supposed to be regular brackets here? local scale = ((sX/1920) * (sY/1080))/2
  13. You can replace any texture with shaders and you are not limited by IDs here. That applies to all elements, not only vehicles. But yeah, models are limited.
  14. Where are team and colour defined?
  • Create New...