Skip to content

Commit

Permalink
added missed offsets (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0werD authored and s1lentq committed Dec 5, 2019
1 parent d954d04 commit 1ea1ff0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
24 changes: 24 additions & 0 deletions reapi/extra/amxmodx/scripting/include/reapi_gamedll_const.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4481,6 +4481,30 @@ enum CCSPlayer_Members
* Set params: set_member(index, member, Float:value);
*/
m_flSpawnProtectionEndTime,

/*
* Description: -
* Member type: class Vector
* Get params: get_member(index, member, Float:output[3]);
* Set params: set_member(index, member, Float:dest[3]);
*/
m_vecOldvAngle,

/*
* Description: -
* Member type: int
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_iWeaponInfiniteAmmo,

/*
* Description: -
* Member type: int
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_iWeaponInfiniteIds,
};

/**
Expand Down
3 changes: 3 additions & 0 deletions reapi/include/cssdk/dlls/API/CSPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ class CCSPlayer: public CCSMonster {
bool m_bForceShowMenu;
float m_flRespawnPending;
float m_flSpawnProtectionEndTime;
Vector m_vecOldvAngle;
int m_iWeaponInfiniteAmmo;
int m_iWeaponInfiniteIds;
};

// Inlines
Expand Down
3 changes: 3 additions & 0 deletions reapi/src/member_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,9 @@ member_t memberlist_csplayer[] = {
CSPL_MEMBERS(m_bForceShowMenu),
CSPL_MEMBERS(m_flRespawnPending),
CSPL_MEMBERS(m_flSpawnProtectionEndTime),
CSPL_MEMBERS(m_vecOldvAngle),
CSPL_MEMBERS(m_iWeaponInfiniteAmmo),
CSPL_MEMBERS(m_iWeaponInfiniteIds),
};

member_t memberlist_baseitem[] = {
Expand Down
3 changes: 3 additions & 0 deletions reapi/src/member_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,9 @@ enum CSPlayer_Members
m_bForceShowMenu,
m_flRespawnPending,
m_flSpawnProtectionEndTime,
m_vecOldvAngle,
m_iWeaponInfiniteAmmo,
m_iWeaponInfiniteIds,
};

enum CBasePlayerItem_Members
Expand Down

0 comments on commit 1ea1ff0

Please sign in to comment.