feat(vehicle): Personal Vehicle Spawner (#579)

* feat(vehicle): Personal Vehicle Spawner

* Add Vinewood Club Garage & Clone PV

* Use different approach for clone PV

* some fixes

* Stuff

* Update lua bindings
This commit is contained in:
Arthur authored and GitHub committed 2025-07-01 19:59:47 +00:00
1 parent dacfa665f7
commit 08cb3887b6
12 files changed
+882 -54

No files matched your search

@@ -0,0 +1,21 @@
#include "core/commands/Command.hpp"
#include "game/backend/PersonalVehicles.hpp"
#include "game/pointers/Pointers.hpp"
namespace YimMenu
{
class RequestPersonalVehicle : public Command
{
using Command::Command;
virtual void OnCall() override
{
if (!*Pointers.IsSessionStarted)
return;
PersonalVehicles::GetCurrent()->Request();
}
};
static RequestPersonalVehicle _RequestPersonalVehicle{"requestpv", "Request Personal Vehicle", "Requests your current Personal Vehicle."};
}