Jump to content

vovo4ka

Members
  • Posts

    122
  • Joined

  • Last visited

Everything posted by vovo4ka

  1. I did it yesterday and all works perfectly. Thx!
  2. I'm tryed both events Doesn't help
  3. Render functions always client-side Maybe but setVehicleFrozen - doesn't help And I don't understand how Frozen can help in this case Call it like this?: function Render() setvehicleFrozen(..., true) setCameramatrix(...) setvehicleFrozen(..., false) end I think it's a crazy idea If the vehicle is drived by ped - there are same problem karlis, I know how to make some effects But in this case shaking of oblect - is a problem
  4. I want to make own camera handler and every PreRender event I'm using setCameraMatrix function for set camera direction. When I want to attach camera to moving element I have strange effect - target object starts shaking. See video: when the camera is fixed - I'm using my own function for set camera position/direction: function Render() local camtx, camty, camtz = getElementPosition(locPlr) setCameraMatrix (camtx,camty+5,camtz+5,camtx,camty,camtz) end heli and car starts shaking but other element and landscape are seen stable When switchin to standard camera mode (or setCameraTarget once) all ok. But I need to set offset of camera position and target and keep camera near target object. I'm trying to apply some arithmetic calc positions for smoothing. But this is has no effect. Increasing server fps limit - leads to increase frequency of shaking.
  5. Free fly wow! thx! Not seen this function before I will try this with SetElementAlpha -- thx! It work's very very fine!
  6. For example other players can collide with 0-alpha player or shoot him etc. And if I dont disable allControls ped continuing walkin. But I need to check control state
  7. In my script I need to hide/destroy player ped sometimes (and respawn him later). Im tryin SetElementVisible, destroyElement but it doesnt works with player. SetElementAlpha not exactly suitable. I need to disable any physical impact player on the world. Any suggestions
  8. Sure It is much easier and faster to work with the database using the indices. But I have a trouble with AUTOINCREMENT on executeSQLInsert. I'm try executeSQLQuery and it works fine
  9. I spend a lot of time to develop the story of gamemode. Many people involved in this. I can't just stop developing. This is very unfair
  10. Thx Yup This is part of my RP project
  11. Weather Simulator resource version 1.0 Features: Realistic weather Different weather in different locations Notes: Weather not blended becouse function setWeatherBlended have no time parameter and if you set minute duartion 60 seconds weather changes after 2 hours Screenshots: Download: https://community.multitheftauto.com/index.html?p=resources&s=download&resource=598&version=1.0.0&selectincludes=1 p.s. It'll be awesome if function setWeatherBlended (id, duration) will be in next versions of MTA
  12. Ok. I'm do all by myself robhol thx you opened my eyes
  13. Im making free open source gamemode. And works for free
  14. We are developing new gamemode script for MTA:SA. And we need 2nd scripter for client-side works (GUI, interaction with server) If you want to join contact me by icq 396101401 or e-mail: [email protected] or via PM or post on this topic
  15. thanks. I thought - probably it really better
  16. I need to send client a large dynamic array. But I doubt how best to - send a big chunk at once, triggerClientEvent(player, "AcceptData", player, serialize(array)) or send by parts like: for ElementKey, ElementValue in ipairs (array) do triggerClientEvent(player, "AcceptChunkData", player, ElementKey, ElementValue) end Are there any limits on the maximum size of data on triggerClientEvent params?
  17. Yes it is possible. I tried. But synchronization are bad and I'm waiting for better times
  18. The player and marker are in different dimensions. But "onMarkerHit" event is triggered when a player is in his position It's normal? video:
  19. Client works And what about the server?
  20. vovo4ka

    Ped fire

    Yes))) Previously I gave weapons at the start but now every second by timer and she shooting Thx!
  21. vovo4ka

    Ped fire

    I'm copypasted this code and have this: https://www.youtube.com/watch?v=3y44sQ-8ew4 Ped doesn't fire
  22. vovo4ka

    MTA Unicode

    When UNICODE is implemented? It is very necessary for the Cyrillic and other players are "not ASCII" languages
×
×
  • Create New...