Raised This Month: $32 Target: $400
 8% 

dissolve ragdoll issue


Post New Thread Reply   
 
Thread Tools Display Modes
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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode