Skip to content

ReferenceStates, zones, net events, instances, decals

Ragdoll ​

  • Client: RLX.Ragdoll(ms, { velocity = { x, y, z }, direction = { x, y, z }, type = 0 }). RLX checks frame by frame that the game took it. If the game refuses, the server applies it (lsmp.setPedToRagdoll).
  • Server: RLX.RagdollPlayer(source, ms, opts).
  • RLX.IsRagdoll() on the client.
  • Players: G falls down, G again gets up (only the ragdoll timer is renewed meanwhile, so the body does not jolt), or /ragdoll. The key is the ragdoll action (game settings).