mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-04 00:23:27 +08:00
Fixed teleport::to_coords not setting the player's yaw if they were not in a vehicle. (#2401)
This commit is contained in:
parent
700a20d903
commit
eca00ef3b6
@ -17,6 +17,10 @@ namespace big::teleport
|
|||||||
{
|
{
|
||||||
ENTITY::SET_ENTITY_HEADING(self::veh, euler.x);
|
ENTITY::SET_ENTITY_HEADING(self::veh, euler.x);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ENTITY::SET_ENTITY_HEADING(self::ped, euler.x);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (euler.y != 0.f && euler.z != 0.f)
|
if (euler.y != 0.f && euler.z != 0.f)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user