A simple plugin that allows admins with the cheat flag to spawn clientsided ragdolls. The ragdolls should spawn on every client's end, even if some of them are out-of-sight.
All you need to do is fill in the model parameter, and the plugin will take care of the rest. Or you can fill in all the other parameters and have it play an animation before ragdolling!
The plugin has only been tried-and-tested in L4D2, but it should work with any others.
-= Tested Games =-
L4D2
-= Commands =-
sm_spawnrag <model> <mode: 0=origin, 1=cursor> <animation> <delay> =
Spawn a clientside ragdoll. Only the model parameter needs to be filled in, the rest can be left empty.
Code:
NOTICE:
Any skipped "models\" or ".mdl" text in your desired model will be automatically filled in by the plugin before usage, so you can easily treat it like prop_dynamic_create.
For an example, in L4D1/2, "survivors/survivor_namvet" will work.
-=
Releases =-
Code:
Version 1.0.1
- Some code optimization and refactoring.
Version 1.0.0
- Initial release.