From 36021314d45ec0120e8a90780ce01954435de3c8 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sat, 27 Apr 2024 18:28:11 +0800 Subject: [PATCH] [server] Implement and match `n_UsePlayerPedAnims(...)` --- server/scrcustom.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/scrcustom.cpp b/server/scrcustom.cpp index 7fe16cf..c47782c 100644 --- a/server/scrcustom.cpp +++ b/server/scrcustom.cpp @@ -387,10 +387,11 @@ static cell AMX_NATIVE_CALL n_SetDisabledWeapons(AMX *amx, cell *params) return 0; } +// native UsePlayerPedAnims() static cell AMX_NATIVE_CALL n_UsePlayerPedAnims(AMX *amx, cell *params) { - // TODO: UsePlayerPedAnims - return 0; + pNetGame->m_bUseCJWalk = true; + return 1; } // native DisableInteriorEnterExits()