Skip to content

Commit

Permalink
used Self::GetPed().GetPosition()
Browse files Browse the repository at this point in the history
  • Loading branch information
Deadlineem committed Jul 24, 2024
1 parent 4bff7df commit 790d105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/frontend/submenus/World/ObjectSpawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace YimMenu::Submenus
static bool hasCollision = false;
static int modelHash = 0;

Vector3 playerCoords = ENTITY::GET_ENTITY_COORDS(Self::GetPed().GetHandle(), true, true);
Vector3 playerCoords = Self::GetPed().GetPosition();
Vector3 forwardVector = ENTITY::GET_ENTITY_FORWARD_VECTOR(Self::GetPed().GetHandle());

Vector3 spawnPosition;
Expand Down

0 comments on commit 790d105

Please sign in to comment.