Open meimeiriver opened 1 month ago
Do you have the PR from the old menyoo? This is a fork from the latest version (1.8.1) of Mafins repo, so anything you did there should have ported across if he PR'd it into the original.
I was never officially involved; just did it for own build. :) I added the following snippet to Submenus.cpp
bool bTeleportEntityPressed = false;
AddOption("Teleport To Entity", bTeleportEntityPressed); if (bTeleportEntityPressed)
{
if (SpoonerMode::spoonerModeCamera.IsActive())
{
SpoonerMode::TurnOff();
GTAped myPed = PLAYER_PED_ID();
myPed.Position_set(SelectedEntity.Handle.Position_get());
}
}
If you make a fork of this repo, make the modifications you need then I can PR it in, that way the code is properly attributed
Я официально не участвовал; просто сделал это для собственной сборки. :) Я добавил следующий фрагмент в Submenus.cpp
bool bTeleportEntityPressed = false; AddOption("Teleport To Entity", bTeleportEntityPressed); if (bTeleportEntityPressed) { if (SpoonerMode::spoonerModeCamera.IsActive()) { SpoonerMode::TurnOff(); GTAped myPed = PLAYER_PED_ID(); myPed.Position_set(SelectedEntity.Handle.Position_get()); } }
can you share your build?
In the original Menyoo, every version, I coded a few lines extra, in spooner mode, to 'Teleport to object.' Aka, cam inside a building, in spooner mode, select an object, and TP to it. Would be nice if you could add that too.