No se usar las funciones de call.
function spawnSlothBot(thePlayer, cmd, skin, weapon, mode, rot, team)
local x, y, z = getElementPosition (thePlayer)
local rot = tonumber(10)
local team = getTeamFromName(team)
local int = getElementInterior(thePlayer)
local dim = getElementDimension(thePlayer)
local weapon = tonumber( 0)
local skin = tonumber( 22, 21, 23)
exports["slothbot"]:spawnBot( x, y+7, z+3, rot, skin, int, dim, nil, 0, hunt, true )
end
addCommandHandler ( "spawnbot", spawnSlothBot )