AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_pdata & get_pdata (https://forums.alliedmods.net/showthread.php?t=217705)

.Dare Devil. 06-06-2013 10:10

set_pdata & get_pdata
 
Hello alliedmodders!

Where i can found list of offset values for those natives?
And as always, thanks!

hornet 06-06-2013 10:20

Re: set_pdata & get_pdata
 
By searching. First link ... http://forums.alliedmods.net/showpost.php?p=1712101

.Dare Devil. 06-06-2013 10:28

Re: set_pdata & get_pdata
 
Quote:

Originally Posted by hornet (Post 1965607)

Youre pretty goon at searching, thanks!

hornet 06-06-2013 10:31

Re: set_pdata & get_pdata
 
Quote:

Originally Posted by .Dare Devil. (Post 1965610)
Youre pretty goon at searching, thanks!

I'm pretty good at drinking goon too ;) No prob.

.Dare Devil. 06-06-2013 10:33

Re: set_pdata & get_pdata
 
Quote:

Originally Posted by hornet (Post 1965613)
I'm pretty good at drinking goon too ;) No prob.

:):)

Arkshine 06-06-2013 10:44

Re: set_pdata & get_pdata
 
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.

TheDS1337 06-06-2013 10:49

Re: set_pdata & get_pdata
 
Maybe this could help too ? :D

.Dare Devil. 06-06-2013 10:55

Re: set_pdata & get_pdata
 
Quote:

Originally Posted by Arkshine (Post 1965621)
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 (Post 1965623)
Maybe this could help too ? :D

thanks!

Spirit_12 09-22-2017 17:04

Re: set_pdata & get_pdata
 
Quote:

Originally Posted by Arkshine (Post 1965621)
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?

HamletEagle 09-22-2017 17:07

Re: set_pdata & get_pdata
 
Quote:

Originally Posted by Spirit_12 (Post 2550303)
Can you update the link please?

Just look at amxmodx 1.8.3 gamedata files.


All times are GMT -4. The time now is 01:19.

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