Jump to content

Bots


PATonyx97

Recommended Posts

depende de que tipo de bot uno que no hace nada o un zombie¿

lol, pues un bot con distintas funciones -.-, este element spawnBot ( float x, float y, float z, int rotation = 0, [ int skinID = 0, int interior = 0, int dimension = 0, team theTeam = nil, int weapon = 0, string theMode = "hunting", element theModesubject = nil ] )

Link to comment

El slothbot y el zombies lo unico que tienen en comun es que los creo la misma persona, pero funcionan individual mente.

exports [ "slothbot" ]:spawnBot ( 0, 0, 10, 0, 0, 0, 0, nil, 31, "hunting" ) 

Eso creara un bot en las coordenadas: 0, 0, 10 con una M4.

Link to comment

ya me funciona el setPedStat, tengo una duda mas, al crear el bot, como le pongo el equipo para que me pueda seguir?, asi?:

admins = createTeam ( "Staff", 255, 255, 255 ) 
  
MyBot = exports [ "slothbot" ]:spawnBot ( 0, 0, 3, 0, 98, 0, 0, admins, 29, "following" ) 

Link to comment
  • Recently Browsing   0 members

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