This is a really basic animation script for your resource.
const NativeUI = require("nativeui");
Dont forget to install https://rage.mp/files/file/41-nativeui/
Just add the files in client_packages to your resource & add the following code to your index.js
require("simpleanimations.js");
Drop "packages/simpleanimations" to your packages in your server root folder.
F9 - Open animation menu | F10 - Cancel animation
H - Hands up / behind the head
Change in client_packages/simpleanimations.js at line
478 - 0x74 for menu opening | 489 - 0x75 for cancel animation | 493 - 0x48 for handsup animation
https://docs.microsoft.com/de-de/windows/win32/inputdev/virtual-key-codes?redirectedfrom=MSDN
For questions or help DM me on rage forum: https://rage.mp/profile/90566-xcron/