Thread: set lastinv
View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-06-2009 , 13:26   Re: set lastinv
Reply With Quote #6

Have you ever tried to retrieve players offsets on DoD ?
Then you would be able to use stupok method, but with the correct offset.


-edit-

Dod WIN32 offsets

270? - 276? m_rgpPlayerItems[MAX_ITEM_TYPES] // 6 (cbase)
Should be either 271 to 276, either 270 to 275
What is sure is that slot1 is 271, slot2 is 272..

277 - m_pActiveItem (cbase)
278 - m_pClientActiveItem (cbase)
279 - m_pLastItem (cbase)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 04-06-2009 at 15:35.
ConnorMcLeod is offline