AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Error trying to fetch m_pNext (https://forums.alliedmods.net/showthread.php?t=328379)

iceeedr 11-06-2020 22:00

Error trying to fetch m_pNext
 
[FAKEMETA] Could not find class "offsets-cbaseplayeritem" and/or member "m_pNext" in gamedata

PHP Code:

iNextWeapon get_ent_data(iBotWeapon"offsets-cbaseplayeritem""m_pNext"

I tried in different ways, but I ran out of ideas on how to get the use of this offset, remembering that I use rehlds + reapi + amxx 1.10, so there are no restrictions for the tips given, thanks.

Shadows Adi 11-07-2020 01:59

Re: Error trying to fetch m_pNext
 
Did you try it using reapi? https://amxx-bg.info/api/reapi_gamed...eritem-members.
Also take a look on this: https://wiki.alliedmods.net/CBasePlayerItem_(CS)

iceeedr 11-07-2020 17:28

Re: Error trying to fetch m_pNext
 
Quote:

Originally Posted by Shadows Adi (Post 2724047)

Thanks, get_member solved the problem.

CrazY. 11-08-2020 06:43

Re: Error trying to fetch m_pNext
 
Code:

iNextWeapon = get_ent_data(iBotWeapon, "CBasePlayerItem", "m_pNext")
https://wiki.alliedmods.net/CBasePlayerItem_(CS)


All times are GMT -4. The time now is 02:57.

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