Jump to content

Tekken

Helpers
  • Posts

    1,423
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tekken

  1. OnDamage make sure the health does not go under 250
  2. You should be using this one as it gives 10 to 15 % better performance!
  3. Yes it is fixed! Thanks. NVM found, was that meant to reproduce bone_attach positions?
  4. Can’t test right now but I think it’s fixed, also may I know what have you changed to have those positions? Also why?
  5. Well I'm just using the resource as is, ~0.5% CPU with 4 objects Simply removed mine and added yours, replaced the function names, also I attach server side if that helps. re-downloaded latest version to be sure, the same effect.
  6. hmm, so is it normal? also the helmet seems to disappear somehow as in script I don't change it's positions at any time unless I change skin.
  7. Hmm is this normal? I'll do some more tests, and come back with the results. Also aren't you using the exact same positioning from https://wiki.multitheftauto.com/wiki/AttachElementToBone ?
  8. Well I run the tests and I get about the same results as yours so @Dutchman101 you have the results! Also may I or not discontinue this resource? as pAttach gives better performance? I personally don't like OOP so I may try to rework the table structure as this is I think the most harmful part performance wise. Thank you.
  9. Will do with all 3 of them just to see the differences. As Patrick did some days ago.
  10. Thank you, well while I have tested and it does worth the work as you will get about 50 to 60% better performance even more maybe, the offsets are not compatible as this resource calculates position by bone matrix and the bone_attach resource had some custom functions made for this. There might be a workaround but I’m a little nul when it comes to maths so I can’t say how, that’s why we have put up a github page, is someone known how they’re free to contribute.
  11. Update v1.4 -Added all bone_attach exported functions; -Added all functions to client side; -Even more optimization; Available functions: attachElementToBone(element, ped, bone, offx, offy, offz, offrx, offry, offrz) detachElementFromBone(element) isElementAttachedToBone(element) getElementBoneAttachmentDetails(element) returns a table with {ped, bone, offx, offy, offz, rotationMatrix}; setElementBonePositionOffset(element, offsetx, offsety, offsetz) setElementBoneRotationOffset(element, offsetrx, offsetry, offsetrz) Note: all functions are available client side! They're not synched with all clients! DOWNLOAD Cheers!
  12. I think he wants warpPedIntoVehicle, this will teleport a player into a vehicle.
  13. Ai cautat pe community? https://community.multitheftauto.com/
  14. I am not familiarized to OOP but getElementPosition returns 3 floats and not a table that might be the problem.
  15. I have already done it, with server synchronization you may check the difference performance wise, see my signature, got released not so long ago.
  16. Use DxDrawImage3D You have a rot argument
  17. Fain tine-o tot asa! App ai facut si o sincronizare server side nu?
  18. Interesant, banuiesc ca nu se bazeaza pe slothbot nu?
  19. ?? What do you mean? Samp chat in mta?
×
×
  • Create New...