Jump to content

[AYUDA]SlohtBot:Hacerlo mi team


paolo2705

Recommended Posts

Posted
DONDE PONGO ESOS CODIGOS
bool setBotTeam ( element theBot, team theTeam ) 

Es asi.

 slothbot = exports [ "slothbot" ]:spawnBot ( 111.79273223877, 1336.3046875, 10.5859375, 90, math.random ( 300, 303 ), 0, 0, Boss, 38, "hunting", true ) 

Lo editas a tu gusto.

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

Posted

Mira podrias seguirte de este ejemplo, lo que hace es defender un lugar:

function bot() 
    slothbot = createPed(285,0,0,0) --el id del skin y las coordenadas x,y,z 
    setBotGuard(slothbot,2645.64,785,498765.12354) --el ped definido y las coordenadas x,y,z 
end 
addEventHandler("onBotSpawned",getRootElement(),bot)     

PD: Puede que tenga algun error, pero puedes guiarte con esto.

430x73.png

430x73.png

Posted

Los slothbots son server side solamente.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Prueba eso:

function bot() 
    slothbot = createPed(285,0,0,0) 
    team = createTeam("MiEquipo",0,255,0) 
    setBotTeam(slothbot,team)  
end 
addEventHandler("onBotSpawned",getRootElement(),bot)    

430x73.png

430x73.png

Posted
Prueba eso:
function bot() 
    slothbot = createPed(285,0,0,0) 
    team = createTeam("MiEquipo",0,255,0) 
    setBotTeam(slothbot,team)  
end 
addEventHandler("onBotSpawned",getRootElement(),bot)    

Xperia , eso solo crea un Ped . El quiere que sea con el 'slothbot'. Amigo, Yo te deje un ejemplo.Usalo

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

Posted
Prueba eso:
function bot() 
    slothbot = createPed(285,0,0,0) 
    team = createTeam("MiEquipo",0,255,0) 
    setBotTeam(slothbot,team)  
end 
addEventHandler("onBotSpawned",getRootElement(),bot)    

Xperia , eso solo crea un Ped . El quiere que sea con el 'slothbot'. Amigo, Yo te deje un ejemplo.Usalo

Si, es verdad, no me di cuenta.

430x73.png

430x73.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...