View Single Post
Author Message
vatanuki.kun
Junior Member
Join Date: Sep 2011
Old 02-08-2013 , 22:01   dissolve ragdoll issue
Reply With Quote #1

Hi,

please update code, always after updates i forgot about this and its take time to remember, so i ask u to fix code

here is the issue

config says:
Code:
// Number of seconds to wait before deleting a ragdoll.
// If 0, ragdoll will be deleted instantly.
// If >= 20, ragdoll will never be deleted.
// --
// Default: "2"
cssdm_ragdoll_time "20"
cvar
Code:
ConVar cssdm_ragdoll_time("cssdm_ragdoll_time", "2", 0, "Sets ragdoll stay time", true, 0.0, true, 20.0);
code to be fixed (cssdm_events.cpp:242):
Code:
if (ragdollTime <= 20 && !g_InRoundRestart)
to:
Code:
if (ragdollTime < 20 && !g_InRoundRestart)
because of this dissolve plugin will not ever work
Code:
  new ragdoll = GetEntPropEnt(client, Prop_Send, "m_hRagdoll");
  if (ragdoll<0)
  {
    PrintToServer("[DISSOLVE] Could not get ragdoll for player!");
    return;
  }
very thank you

PS: http://forums.alliedmods.net/showpos...&postcount=156

Last edited by vatanuki.kun; 02-08-2013 at 22:08. Reason: add link to dissolve plugins page with this issue
vatanuki.kun is offline
Send a message via Skype™ to vatanuki.kun