m_bJustConnected is a bool, so naturally get/set_pdata_bool should be used. Unfortunately amxx 1.8.2 does not have such natives, so you either use Connor's stocks or convert the offset so it can be used directly with get/set_pdata_int(when possible).