You can listen to these events and update your local variables accordingly if need be. (if whatever resource that is changing the job is actually doing it through that player object function and not manipulating it through some other method. QB devs like to do funky things) https://github.com/qbcore-framework/qb-core/blob/083229887bedc8c0137ed40e40096b4a94829b49/server/player.lua#L217-L218