mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Removed WON specific offsets.
This commit is contained in:
parent
09da646086
commit
59bb24e791
@ -1,5 +1,3 @@
|
||||
//#define __cswonbuild__ // comment when compiling for STEAM
|
||||
|
||||
/* AMX Mod X
|
||||
* Counter-Strike Module
|
||||
*
|
||||
@ -52,41 +50,6 @@
|
||||
#define EXTRAOFFSET 0 // no change in Windows builds
|
||||
#endif // defined __linux__
|
||||
|
||||
#if defined __cswonbuild__ // from here WON build looks for offsets
|
||||
// "player" entities
|
||||
#define OFFSET_TEAM 114 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_CSMONEY 115 + EXTRAOFFSET // same as STEAM
|
||||
//#define OFFSET_PRIMARYWEAPON 116 + EXTRAOFFSET // not confirmed (very likely it's the same though)
|
||||
#define OFFSET_INTERNALMODEL 126 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_NVGOGGLES 129 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_DEFUSE_PLANT 193 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_VIP 215 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_BUYZONE 239 + EXTRAOFFSET // differs -2 from STEAM
|
||||
|
||||
#define OFFSET_AWM_AMMO 381 + EXTRAOFFSET // differs -1 from STEAM
|
||||
#define OFFSET_SCOUT_AMMO 382 + EXTRAOFFSET // all of these probably differs by -1, didn't really test that yet though
|
||||
#define OFFSET_PARA_AMMO 383 + EXTRAOFFSET
|
||||
#define OFFSET_FAMAS_AMMO 384 + EXTRAOFFSET
|
||||
#define OFFSET_M3_AMMO 385 + EXTRAOFFSET
|
||||
#define OFFSET_USP_AMMO 386 + EXTRAOFFSET
|
||||
#define OFFSET_FIVESEVEN_AMMO 387 + EXTRAOFFSET
|
||||
#define OFFSET_DEAGLE_AMMO 388 + EXTRAOFFSET
|
||||
#define OFFSET_P228_AMMO 389 + EXTRAOFFSET
|
||||
#define OFFSET_GLOCK_AMMO 390 + EXTRAOFFSET
|
||||
#define OFFSET_FLASH_AMMO 391 + EXTRAOFFSET
|
||||
#define OFFSET_HE_AMMO 392 + EXTRAOFFSET
|
||||
#define OFFSET_SMOKE_AMMO 393 + EXTRAOFFSET
|
||||
#define OFFSET_C4_AMMO 394 + EXTRAOFFSET // differs -1 from STEAM
|
||||
|
||||
#define OFFSET_CSDEATHS 448 + EXTRAOFFSET // differs -1 from STEAM
|
||||
// "weapon_*" entities
|
||||
#define OFFSET_WEAPONTYPE 43 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_CLIPAMMO 51 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_SILENCER_FIREMODE 70 + EXTRAOFFSET // differs -4 from STEAM
|
||||
// "hostage_entity" entities
|
||||
#define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET // same as STEAM
|
||||
#define OFFSET_HOSTAGEID 487 + EXTRAOFFSET // same as STEAM
|
||||
#else // from here STEAM build looks for offsets
|
||||
// "player" entities
|
||||
#define OFFSET_TEAM 114 + EXTRAOFFSET
|
||||
#define OFFSET_CSMONEY 115 + EXTRAOFFSET
|
||||
@ -120,7 +83,6 @@
|
||||
// "hostage_entity" entities
|
||||
#define OFFSET_HOSTAGEFOLLOW 86 + EXTRAOFFSET
|
||||
#define OFFSET_HOSTAGEID 487 + EXTRAOFFSET
|
||||
#endif // defined __cswonbuild__
|
||||
|
||||
// Ids of weapons in CS
|
||||
#define CSW_P228 1
|
||||
|
Loading…
Reference in New Issue
Block a user