Jump to content

Recommended Posts

Доброго времени суток!

У меня возникла проблема с настройкой slothbot

function Spawnsoldier () 
local x,y,z = 0,0,5.75 
local rot=0 
local skin=285 
local interior=0 
local dimension= 0 
local leader= Player 
local enemy=false 
local team=false 
local weapon=0 
local mode="following" 
local modesubject= x,y,z 
call (getResourceFromName("slothbot"), "spawnBot", 0,0,12.75, rot, skin, interior, dimension, false, 10, following, modesubject) 
end 
addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), Spawnsoldier) 

Суть проблемы: Бот атакует игрока

Кто может поправьте)))))

Link to comment
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...