This is a rather interesting and difficult problem I'm looking to
solve. Basically, I want players to be able to 'grab' a ragdoll
(server-side) by crouching and pressing the USE key. After grabbing
it, we create an object and attach it to the player. When the player
wants to drop this object, they crouch and press USE once again to
drop the ragdoll. So basically, I'm destroying the ragdoll and then
re-creating it when the player choose to drop it, again.

Two problems:

1) When the player tries to pick the ragdoll up, it isn't always in
the same place the player dropped it. Almost as if it's a local
ragdoll, rather than a server-side one. I was under the impression
creating server-side ragdolls synced location across server and
clients.

2) When the ragdoll is jumped again, I cannot get it to spawn where
the place is currently standing. It always respawns where the ragdolls
owner died!

Full code can be found here: http://pastebin.com/m1e7e9150

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to