Fix image links

This commit is contained in:
Grinch_ 2021-02-16 05:58:02 +06:00
parent 61786f34a3
commit aae3c93084
12 changed files with 13 additions and 13 deletions

View File

@ -36,15 +36,15 @@ You'll need to install Visual Studio 2019 (v142), [DirectX9 SDK](https://www.mic
4. [Plugin SDK](https://github.com/DK22Pac/plugin-sdk)
## Images
![1](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/teleport.gif)
![2](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/player.gif)
![3](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/ped.gif)
![4](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/animation.gif)
![5](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/vehicle.gif)
![6](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/weapon.gif)
![7](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/game.gif)
![8](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/visual.gif)
![9](https://raw.githubusercontent.com/user-grinch/user-grinch.github.io/master/assets/img/mods/cheat-menu/menu.gif)
![1](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/teleport.gif)
![2](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/player.gif)
![3](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/ped.gif)
![4](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/animation.gif)
![5](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/vehicle.gif)
![6](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/weapon.gif)
![7](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/game.gif)
![8](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/visual.gif)
![9](https://raw.githubusercontent.com/user-grinch/Cheat-Menu/rewrite/images/menu.gif)
## Docs

BIN
images/animation.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

BIN
images/game.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
images/ped.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB

BIN
images/player.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
images/teleport.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

BIN
images/vehicle.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
images/visual.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 885 KiB

BIN
images/weapon.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -128,7 +128,7 @@ void Teleport::TeleportPlayer(bool get_marker, CVector* pos, short interior_id)
if (pVeh && player->m_nPedFlags.bInVehicle)
{
pVeh->Teleport(CVector(pos->x, pos->y, pos->z), false);
pVeh->Teleport(STeleport::pos, false);
if (pVeh->m_nVehicleClass == VEHICLE_BIKE)
reinterpret_cast<CBike*>(pVeh)->PlaceOnRoadProperly();

View File

@ -8,7 +8,7 @@ void Util::ClearCharTasksVehCheck(CPed* ped)
uint hveh = NULL;
bool veh_engine = true;
if (Command<Commands::IS_CHAR_IN_ANY_CAR>(hped))
if (ped->m_nPedFlags.bInVehicle)
{
hveh = CPools::GetVehicleRef(ped->m_pVehicle);
veh_engine = ped->m_pVehicle->m_nVehicleFlags.bEngineOn;

View File

@ -446,7 +446,7 @@ void Vehicle::SpawnVehicle(std::string &smodel)
CVector pos = player->GetPosition();
int speed = 0;
if (Command<Commands::IS_CHAR_IN_ANY_CAR>(hplayer) && spawner::spawn_inside)
if (player->m_nPedFlags.bInVehicle && spawner::spawn_inside)
{
int hveh = 0;
Command<Commands::GET_CAR_CHAR_IS_USING>(hplayer, &hveh);
@ -651,7 +651,7 @@ void Vehicle::Main()
if (ImGui::Button("Flip vehicle", ImVec2(Ui::GetSize(3))))
{
if (Command<Commands::IS_CHAR_IN_ANY_CAR>(hplayer))
if (player->m_nPedFlags.bInVehicle)
{
int hveh = CPools::GetVehicleRef(player->m_pVehicle);
float roll;