We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ad4db9 commit 5980d0fCopy full SHA for 5980d0f
Server/Components/Pawn/Scripting/NPC/Natives.cpp
@@ -70,6 +70,7 @@ SCRIPT_API(NPC_SetFacingAngle, bool(INPC& npc, float angle))
70
{
71
auto rotation = npc.getRotation().ToEuler();
72
rotation.z = angle;
73
+ npc.setRotation(rotation);
74
return true;
75
}
76
0 commit comments