Search Function Handcuff

Hi, I’m looking for a function that handles players that I can put in a menu or other

TaskHandsUp(GetPlayerPed(-1), 1000, GetPlayerPed(-1), -1, true) -- Perform animation.

This will preform the function on the player itself.