5 Commits

Author SHA1 Message Date
aa15032261
136efc3af8
Added drive to objective feature. (#369) 2022-07-30 18:53:08 +02:00
Maddy
a9dbfdd138
Improved auto drive (#196)
* Improved logic to handle changes mid drive. Changed default styles. Split to waypoint and wander into two separate files for readability

* Fixed type to remove the hideous warnings

* Fixes

* wfvaenhiuefcsnhiojmfhnevioshnuefvsihnoijmefmvschnfvecshnfevSC

* iNcLuDeS aLpHaBeTiCaLlY
2022-05-24 15:59:25 -04:00
karifeld
04142b2d98
refactor: Modernized/optimized general code, bug fixing and more (#226)
* refactor: Use self globals

* refactor: Use gui::components

* fix(Vehicle Preview): Addresses #119

Previewed vehicle set to unclimbable

Only preview when hovered on vehicle

* fix(Infinite Clip): Disabling it now works

* fix(No Ragdoll): Disabling it now works

Removed unnecessary calls to natives (0xB128377056A54E2A should be enough)

* fix(Spawn): Wrong footer placement

* fix self globals file name typo

* refactor(Mobile): Clear ped tasks when set conditions are met

Only clear ped tasks if pv_teleport_into bool is true and ped is in a vehicle

* feat(Weapons): Remove current weapon

* refactor: Added missing variable in calls to self globals

* refactor: Utilize usage of ControllerInputs

* fix(Vehicle Fly): uninitialized local variable 'ped' used

* refactor(No Ragdoll, Infinite Clip): Only run on boolean change.

* refactor(Infinite Ammo): Simplified code

* refactor: Utilize ControllerInputs in other areas of code

* refactor: Utilize ControllerInputs in other areas of code
2022-05-22 18:38:45 -04:00
Yimura
5b87f640f9
fix(AutoDrive): Type warnings 2022-05-10 20:22:57 +02:00
Maddy
1088ec6d4b
feat(Vehicle): Add auto drive (#182)
* Should be working

* Boy am I dumb

* Fixes and added wander and other shit
2022-05-09 14:59:38 +02:00