Jump to content

Thomas_Nightfire

Members
  • Posts

    33
  • Joined

  • Last visited

About Thomas_Nightfire

  • Birthday 18/09/1994

Details

  • Gang
    Orange Grove Street
  • Location
    Ganton, Los Santos
  • Occupation
    OG
  • Interests
    scripting

Recent Profile Visitors

551 profile views

Thomas_Nightfire's Achievements

Rat

Rat (9/54)

0

Reputation

  1. Спасибо за ответ... Я уже смотрел сервера в браузере и увидел, что не так много народу играет вообще.. и, насколько я понял, онлайн держат сервера с RP-режимами, у серверов типа Light RP или других онлайн невысок. Вот и думаю, стоит ли писать свой игровой режим и платить за хостинг, и будет ли сервер этот кому-то нужен..
  2. Доброго времени суток. Подскажите: актуально ли вкладывать кучу и сил времени в разработку собственного сервера с нуля МТА в 2022? Я имею ввиду, стоит ли ждать стабильного (пусть и небольшого) кол-ва игроков на сервере и вообще какого-либа интереса со стороны сообщества? И какие игровые режимы могли бы быть наиболее интересны?
  3. Thanks a lot, undertood. But to not make another topic, how can I update peds frequently? I mean serverside timer with ~100ms will be bad, like u said earlier. I've made a resource with NPCs and it works with 200ms-timer and it's a bit laggy even playing with my friend on local network. May be I need to use onClientPreRender or clientside timer to check state of peds? But I think it would be better to check their states serverside to avoid any desync... P.S.: like in CrystalMV's NPC HLC Traffic - 200 ms for serverside 'lightweight' update for unsynced peds & onClientRender for synced
  4. You mean set data to ped server-side, and with timer / other often repeating event check this data and do actions on client? Loaded players? A variable root isn't include all players currently online? There aren't the same? I'm sorry, I think I do not understand MTA Tree System...
  5. Hello everyone! Usually when I need to sync peds for every player, I have to call triggerClientEvent(getRootElement(), 'someEvent'), but is it right? I've read that every entity (ped, player, vehicle) have an a syncer which is syncing data and tells server about it -> server tells other clients... and I've tried to call triggerClientEvent(getElementSyncer(ped), 'someEvent'), but when I connect other client, only syncer sees ped control state (forwards, in my case), but second player sees ped only changing his pos and Z-rot and no control state changing.. So the question is: I have to trigger event for every client, or the other way exists?
  6. Why I can't set requested ped model to the player? Model is loaded, assigned to ped and it is visible, but there is no effect when trying to set this model ID to player after replacing model .dff and .txd...
  7. Nice... thought another way exists, but thank you
  8. Can u please write a simple example how to overwrite it's behaviour? And if rocket blows up something, who's be responsible for it? Owner?
  9. MTA 1.5.8 r20743 (Nightly Build) How to prevent ped from entering vehicle after he dragged out player/ped when using setPedEnterVehicle? Cancel onClientPedVehicleEnter or onClientVehicleEnter has no effect.
  10. I've tried to set velocity, but idk how to set proper velocity to fire in certain XYZ point... And even using velocity arguments, rocket sometimes flies not straight: after a few seconds changes direction to player camera or whatever I can't understand Please help!
  11. Hey there! Is there a way to set projectile a direction? I've tried to test Rocket, but it always fly to direction of player camera... Tried to set rotation of projectile, but it only changes rot of it, not the direction. Please help!
×
×
  • Create New...