mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +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);
|
||||
}
|
||||
else
|
||||
{
|
||||
ENTITY::SET_ENTITY_HEADING(self::ped, euler.x);
|
||||
}
|
||||
}
|
||||
if (euler.y != 0.f && euler.z != 0.f)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user