bool PlayerCMD_isSwitchingWeapon()
{
if (gclient_s + 0x2BC <= 4 || gclient_s + 0x2D8 - 1 <= 4 )
return true;
else
return false
}
To get the return should be something like this - return = VariableValue->u.intValue;
struct VariableStackBuffer
{
const char *pos;
unsigned __int16 size;
unsigned __int16 bufLen;
unsigned __int16 localId;
char time;
char buf[1];
};
/* 3663 */
union VariableUnion
{
int intValue;
unsigned int uintValue;
float floatValue;
unsigned int stringValue;
const float *vectorValue;
const char *codePosValue;
unsigned int pointerValue;
VariableStackBuffer *stackValue;
unsigned int entityOffset;
};
/* 3664 */
struct __declspec(align() VariableValue
{
VariableUnion u;
int type;
};
Copyright © 2024, NextGenUpdate.
All Rights Reserved.