18 Commits

Author SHA1 Message Date
Maddy
e52ba9a02f 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
0f09234130 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
MoneyDropLobby
929705cd8a feat(Vehicle): Instant into vehicle (globals) (#181) 2022-05-09 22:58:53 +02:00
Maddy
0e340a5217 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
Maddy
cc463cc2ef feat(Vehicle): Added rainbow options (#141) 2022-05-02 21:32:23 +02:00
Maddy
2e3d8fca48 fix(Max Vehicle): Set tires to bulletproof (#128) 2022-03-23 18:45:54 +01:00
Maddy
e23153c887 feat(spawn): Add Spawn Maxed Option (#124)
Co-authored-by: LiamD-Flop <contact@liamd.me>
2022-03-21 22:05:13 +01:00
Yimura
54bdb6da56 feat(Spawner): Preview vehicle before spawning (#113) 2022-03-14 23:31:30 +01:00
LiamD-Flop
eb71752b5b feature(GUI): Notifications are gui styled. (#69)
* feature(GUI): Notifications are gui styled.

* feature(GUI): Removed ~r~
2022-03-02 00:21:29 +01:00
Yimura
a22b939bdc feat(Util/Vehicle): Set vehicle heading and don't continue if we can't get control of vehicle. 2022-01-18 02:03:20 +01:00
Yimura
121553a3f5 refactor: Only act on an entity if we have control 2022-01-07 17:00:42 +01:00
Yimura
33ac6e261d feat(Natives): Updated natives list 2021-11-08 13:00:04 +01:00
Yimura
ceb7a03f06 feat(Vehicle): Notify when failing to take control 2021-09-21 13:39:15 +02:00
Yimura
a2a755a9b1 feat(Util/Vehicle): Request control of entity before repairing 2021-08-03 20:25:55 +02:00
Yimura
dc6f9f2ed6 feat(Util/Vehicle): Added repair function 2021-07-23 11:58:43 +02:00
Yimura
70cbd2eb7a refactor(VehicleUtil): Optimised bring vehicle 2021-05-25 14:11:13 +02:00
Yimura
75872ade75 feat(Vehicle): Added bring vehicle button 2021-05-21 14:09:28 +02:00
Yimura
5ec74b36ac feat(Util): Added vehicle::spawn and notify::above_map 2021-05-19 11:27:47 +02:00