AMXX have for changing an offset of an entity:
Code:
set_pdata_int ( index, offset, value, [ linuxdiff = -5 ] )
get_pdata_int ( index, offset, [ linuxdiff = 5 ] )
To find an offset you need the value,then you can use:
Code:
new value = ...
for (new i;i<=1000;i++){//search through 1000 offsets,set it higher to search more offsets.
new newvalue = get_pdata_int (index, i)//index = number of ent/player
if (newvalue == value)
client_print(0,print_chat,"value founded on offset%d",i)
}
BIG WARNING: somtime it can crash thought searching.If it crash set "i" lower.
Then if you have the offset,test it with "set_pdata_int" and check ingame if you have the value you have set.
If it an non player/ent offset you need tool like memhack,but they are very complicate.
IF it all to complex i can write a plugin to search the offset,or you give me the dll and i find it.
__________________