01-03-2016, 11:37
Who can help me with disabling FallDamage
I tried to find the value with IDA, but did not find...
I tried to find the value with IDA, but did not find...
PHP Code:
//All game versions
using Addon;
using System;
namespace JSG
{
public class JSG : CPlugin
{
public static unsafe int Gravity
{
get
{
return *(int*)(IntPtr)(4679878);
}
set
{
*(int*)(IntPtr)(4679878) = value;
}
}
public static unsafe int Speed
{
get
{
return *(int*)(IntPtr)(4677866);
}
set
{
*(int*)(IntPtr)(4677866) = value;
}
}
public static unsafe float JumpHeight
{
get
{
return *(float*)(IntPtr)(7186184);
}
set
{
*(float*)(IntPtr)(7186184) = value;
}
}
public unsafe JSG()
{
*(sbyte*)(IntPtr)(5132827) = (sbyte)-21;
}
}
}