Raised This Month: $51 Target: $400
 12% 

set_pdata & get_pdata


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-06-2013 , 10:10   set_pdata & get_pdata
Reply With Quote #1

Hello alliedmodders!

Where i can found list of offset values for those natives?
And as always, thanks!
.Dare Devil. is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-06-2013 , 10:20   Re: set_pdata & get_pdata
Reply With Quote #2

By searching. First link ... http://forums.alliedmods.net/showpost.php?p=1712101
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-06-2013 , 10:28   Re: set_pdata & get_pdata
Reply With Quote #3

Quote:
Originally Posted by hornet View Post
Youre pretty goon at searching, thanks!

Last edited by .Dare Devil.; 06-06-2013 at 10:29.
.Dare Devil. is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-06-2013 , 10:31   Re: set_pdata & get_pdata
Reply With Quote #4

Quote:
Originally Posted by .Dare Devil. View Post
Youre pretty goon at searching, thanks!
I'm pretty good at drinking goon too ;) No prob.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-06-2013 , 10:33   Re: set_pdata & get_pdata
Reply With Quote #5

Quote:
Originally Posted by hornet View Post
I'm pretty good at drinking goon too ;) No prob.
.Dare Devil. is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-06-2013 , 10:44   Re: set_pdata & get_pdata
Reply With Quote #6

A full list (with original name) for CBasePlayer (player.h), CBasePlayerWeapon (weapon.h), and CGrenade (weapon.h) can be found here : https://github.com/Arkshine/CSSDK/bl...ltiplayer/dlls. You will have to scroll down a bit in the relevant file.

Note : What you see as comment is the full offset. Meaning to be used with _pdata you will have to divide by 4 for most of them. For offset with as type "bool" (and not BOOL), consider using get/set_pdata_bool() by Connor with the full offset, from hornet's link.
__________________

Last edited by Arkshine; 06-06-2013 at 10:45.
Arkshine is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-06-2013 , 10:49   Re: set_pdata & get_pdata
Reply With Quote #7

Maybe this could help too ?
TheDS1337 is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-06-2013 , 10:55   Re: set_pdata & get_pdata
Reply With Quote #8

Quote:
Originally Posted by Arkshine View Post
A full list (with original name) for CBasePlayer (player.h), CBasePlayerWeapon (weapon.h), and CGrenade (weapon.h) can be found here : https://github.com/Arkshine/CSSDK/bl...ltiplayer/dlls. You will have to scroll down a bit in the relevant file.

Note : What you see as comment is the full offset. Meaning to be used with _pdata you will have to divide by 4 for most of them. For offset with as type "bool" (and not BOOL), consider using get/set_pdata_bool() by Connor with the full offset, from hornet's link.
Quote:
Originally Posted by DeagLe.Studio View Post
Maybe this could help too ?
thanks!
.Dare Devil. is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 09-22-2017 , 17:04   Re: set_pdata & get_pdata
Reply With Quote #9

Quote:
Originally Posted by Arkshine View Post
A full list (with original name) for CBasePlayer (player.h), CBasePlayerWeapon (weapon.h), and CGrenade (weapon.h) can be found here : https://github.com/Arkshine/CSSDK/bl...ltiplayer/dlls. You will have to scroll down a bit in the relevant file.
.
Can you update the link please?
__________________
Spirit_12 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-22-2017 , 17:07   Re: set_pdata & get_pdata
Reply With Quote #10

Quote:
Originally Posted by Spirit_12 View Post
Can you update the link please?
Just look at amxmodx 1.8.3 gamedata files.
__________________
HamletEagle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:46.


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