mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

Player freezes for a few seconds when using setElementModel

Open realArshin opened this issue 8 months ago • 2 comments

Describe the bug

There appears to be a bug when using the setElementModel function on a player element. After calling this function, the affected player freezes for a few seconds before returning to normal.

Steps to reproduce

  1. Use setElementModel on a player element.
  2. Observe the player's behavior immediately after the function call.

Version

Client: v1.6-release-23984

Additional context

No response

Relevant log output


Security Policy

  • [x] I have read and understood the Security Policy and this issue is not security related.

realArshin avatar Mar 19 '26 03:03 realArshin

Executing client-side command: t1 = getTickCount() setElementModel(localPlayer, 2) t2 = getTickCount() outputChatBox(t2-t1) 0

0 ms to change model on the newest nightly (v1.6-release-23997)

ArranTuna avatar Mar 23 '26 21:03 ArranTuna

Closed as no feedback provided after 2 weeks.

ArranTuna avatar Apr 09 '26 20:04 ArranTuna