Player to Animal - Need Help

Hello, im making a free script for someones server so people can play as diffrent Animals. Got the menu, restrictions, emotes and everything done. But i cant find anywhere on how to make the player turn into a animal PED. Its probably a very simple line but i got stuck and my head started turning and got stuck. So im reaching out to all you pros on here. Can anyone help me with the last line of makeing the current player into a animal would be a huge help! thanks in advance!

Thank you so much <3

To anyone else seaching for this(Can be done this way):

Client:

RegisterNetEvent(‘zinze:testerped’)
AddEventHandler(‘zinze:testerped’, function()
skin = “mp_m_freemode_01”
local model = GetHashKey(skin)

if IsModelInCdimage(model) and IsModelValid(model) then
    RequestModel(model)
    while not HasModelLoaded(model) do
        Citizen.Wait(1)
    end
  SetPlayerModel(PlayerId(), model)
  end

end)

Server side(vRP):

RegisterCommand(‘makemeaped’, function(source) – test
local source = source
local user_id = vRP.getUserId({source})

  TriggerClientEvent('zinze:testerped', source)

end)