¬.¬ ok jejejej bueno ya lei los modos y gracias esperen que se los subo como me quedo
end
function isPedBot(ped)
if (isElement(ped)) then
if (getElementData (ped, "slothbot") == true) then
return true
else
return false
end
else
return false
end
end
function spawnMyBot (thePlayer, skin, weapon, mode)
local x,y,z = getElementPosition (source)
local rot= 90
local interior=0
local dimension= 0
local team=false
local modesubject=thePlayer
call (getResourceFromName("slothbot"), "spawnBot", x, y+5, z, rot, tostring(skin) or 0, interior, dimension, team, tostring(weapon) or 31, tostring(mode) or "chasing", modesubject)
end
addCommandHandler("crearBot", spawnMyBot)
Lo puse en el final del script de servidor ...
Cuantos años tienen ustedes???
Intentare lo tuyo the kid 5000 veces la falla y 2000 veces script y no me acuerdo mas