{"slug":"AI/PLAYER_RESET_FLAGS","category":"AI","title":"PLAYER RESET FLAGS","kind":"markdown","intro":"","body":"## Some Player Reset Flags\n\nApplies to PlayerId not to PedId! Must be called every frame.\n\n## Example\n\n```lua\nCitizen.InvokeNative(0x9F9A829C6751F3C7,PlayerId(),53,1)  -- if weapon was in your hand before interaction, it will be restored automatically after interaction.\n```\n\n<h2>Some known reset Player flags.</h2>","tables":[{"id":37,"name":"Some known reset Player flags.","columns":["flag_id","flag_name"],"rows":58}],"sourceUrl":"https://github.com/femga/rdr3_discoveries/tree/477aaaccadb7f0c042286611d9939009636cff12/AI/PLAYER_RESET_FLAGS","rows":[{"row":0,"cells":{"flag_id":"0"},"note":null},{"row":1,"cells":{"flag_id":"1"},"note":null},{"row":2,"cells":{"flag_id":"2","flag_name":"PLAYER_RESET_FLAG_FORCED_ZOOM"},"note":null},{"row":3,"cells":{"flag_id":"3"},"note":null},{"row":4,"cells":{"flag_id":"4","flag_name":"PLAYER_RESET_FLAG_FORCED_AIMING"},"note":null},{"row":5,"cells":{"flag_id":"5","flag_name":"PLAYER_RESET_FLAG_DISABLE_HEALTH_RECHARGE"},"note":null},{"row":6,"cells":{"flag_id":"6"},"note":null},{"row":7,"cells":{"flag_id":"7","flag_name":"PLAYER_RESET_FLAG_DISABLE_AIM_CAMERA"},"note":null},{"row":8,"cells":{"flag_id":"8","flag_name":"PLAYER_RESET_FLAG_RUN_AND_GUN"},"note":null},{"row":9,"cells":{"flag_id":"9"},"note":null},{"row":10,"cells":{"flag_id":"10"},"note":null},{"row":11,"cells":{"flag_id":"11"},"note":null},{"row":12,"cells":{"flag_id":"12"},"note":null},{"row":13,"cells":{"flag_id":"13"},"note":null},{"row":14,"cells":{"flag_id":"14"},"note":null},{"row":15,"cells":{"flag_id":"15"},"note":null},{"row":16,"cells":{"flag_id":"16"},"note":null},{"row":17,"cells":{"flag_id":"17"},"note":null},{"row":18,"cells":{"flag_id":"18","flag_name":"PLAYER_RESET_FLAG_MAINTAIN_SPEED"},"note":null},{"row":19,"cells":{"flag_id":"19","flag_name":"PLAYER_RESET_FLAG_FORCE_HEALTH_RECHARGE"},"note":null},{"row":20,"cells":{"flag_id":"20"},"note":null},{"row":21,"cells":{"flag_id":"21"},"note":null},{"row":22,"cells":{"flag_id":"22"},"note":null},{"row":23,"cells":{"flag_id":"23"},"note":null},{"row":24,"cells":{"flag_id":"24"},"note":null},{"row":25,"cells":{"flag_id":"25"},"note":null},{"row":26,"cells":{"flag_id":"26"},"note":null},{"row":27,"cells":{"flag_id":"27"},"note":null},{"row":28,"cells":{"flag_id":"28","flag_name":"PLAYER_RESET_FLAG_DISABLE_MOUNTING"},"note":null},{"row":29,"cells":{"flag_id":"29"},"note":null},{"row":30,"cells":{"flag_id":"30"},"note":null},{"row":31,"cells":{"flag_id":"31","flag_name":"PLAYER_RESET_FLAG_DISABLE_AMBIENT_GREETS"},"note":null},{"row":32,"cells":{"flag_id":"32","flag_name":"PLAYER_RESET_FLAG_DISABLE_PLAYER_GREET"},"note":null},{"row":33,"cells":{"flag_id":"33","flag_name":"PLAYER_RESET_FLAG_HIPFIRE_AIM_ASSIST_ON"},"note":null},{"row":34,"cells":{"flag_id":"34"},"note":null},{"row":35,"cells":{"flag_id":"35"},"note":null},{"row":36,"cells":{"flag_id":"36"},"note":null},{"row":37,"cells":{"flag_id":"37","flag_name":"PLAYER_RESET_FLAG_REMOVING_MASK"},"note":null},{"row":38,"cells":{"flag_id":"38","flag_name":"PLAYER_RESET_FLAG_UNEQUIPPING_WEAPON"},"note":null},{"row":39,"cells":{"flag_id":"39","flag_name":"PLAYER_RESET_FLAG_DISABLE_LOITERING"},"note":null},{"row":40,"cells":{"flag_id":"40"},"note":null},{"row":41,"cells":{"flag_id":"41","flag_name":"PLAYER_RESET_FLAG_ENABLE_GREET_AUTO_REPLY"},"note":null},{"row":42,"cells":{"flag_id":"42"},"note":null},{"row":43,"cells":{"flag_id":"43"},"note":null},{"row":44,"cells":{"flag_id":"44"},"note":null},{"row":45,"cells":{"flag_id":"45","flag_name":"PLAYER_RESET_FLAG_DISABLE_ARREST"},"note":null},{"row":46,"cells":{"flag_id":"46"},"note":null},{"row":47,"cells":{"flag_id":"47"},"note":null},{"row":48,"cells":{"flag_id":"48"},"note":null},{"row":49,"cells":{"flag_id":"49","flag_name":"PLAYER_RESET_FLAG_DISABLE_STEALING_TRANSPORT"},"note":null},{"row":50,"cells":{"flag_id":"50"},"note":null},{"row":51,"cells":{"flag_id":"51"},"note":null},{"row":52,"cells":{"flag_id":"52"},"note":null},{"row":53,"cells":{"flag_id":"53","flag_name":"PLAYER_RESET_FLAG_AUTO_RESTORE_WEAPONS_AFTER_INTERACTIONS"},"note":null},{"row":54,"cells":{"flag_id":"54"},"note":null},{"row":55,"cells":{"flag_id":"55"},"note":null},{"row":56,"cells":{"flag_id":"56"},"note":null},{"row":57,"cells":{"flag_id":"57","flag_name":"PLAYER_RESET_FLAG_FORCE_EAGLE_EYE"},"note":null}],"table":37}