Jump to content

Thomas_Nightfire

Members
  • Content Count

    31
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Thomas_Nightfire

  • Rank
    Rat
  • Birthday 18/09/1994

Details

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

Recent Profile Visitors

305 profile views
  1. 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
  2. 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...
  3. 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
  4. 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...
  5. Nice... thought another way exists, but thank you
  6. 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?
  7. 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.
  8. 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!
  9. 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!
  10. May be someone knows animation block and name for original cop twohanded shoot action which used for cops in singleplayer?
  11. Unfortunately, these params don't change anything... I've tried. Unfortunately, these params don't change anything... I've tried.
×
×
  • Create New...