Quote:
Originally Posted by vitorrossi
Code:
set_pdata_int( id, m_bHasChangeTeamThisRound, 0, XO_PLAYER )
This offset is a boolean. You should use set_pdata_bool instead
|
No. The boolean offset is 521 - 20 = 501 for windows(the value to use with get/set_pdata_bool). The value he's using is 125, the converted value, so *_pdata_int is correct here. Tho, if you convert bool offsets most likely you are going to need to use flags to get the correct value.
__________________