Talk:SetPedRotation

From Multi Theft Auto: Wiki
Revision as of 13:33, 8 September 2024 by FileEX (talk | contribs) (→‎This function is deprecated: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function is deprecated

@AirNewSCR‎

This function works exactly the same as setElementRotation. In the source code it is one and the same function, just with a different name. Instead of setPedRotation, setVehicleRotation, setObjectRotation, all these functionalities have been combined into one setElementRotation function and the operation is exactly the same, because setElementRotation calls the same functions as setPedRotation in the case of peds.

So please don't create confusion.