長瀞早瀬 Posted January 12, 2015 Posted January 12, 2015 Доброго времени суток! У меня возникла проблема с настройкой 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) Суть проблемы: Бот атакует игрока Кто может поправьте)))))
Easterdie Posted January 12, 2015 Posted January 12, 2015 мы все телепаты и знаем что да как в самом ресурсе, настроек достаточно))))) http://bpb-team.ru/ - особый вид людей.http://vk.com/mtapro - турниры и мероприятия в мта <Easterdie> kye why samp has not updates or it make slowly? <Kyeman> I have not src of SA-MP and have use hex editor for change version to next 0.3a, 0.3c, 0.3x, 0.3z etc.
Fabervox Posted January 29, 2015 Posted January 29, 2015 Может стоит посмотреть, что возвращают onBotFindEnemy,onBotFollow,getBotTeam,getBotMode. В официальном Discord MTA, можно получать ответы оперативно и живее обсуждать темы: https://discord.gg/aD5jtRS
The Creator Posted January 29, 2015 Posted January 29, 2015 local mode="following" <-- call (getResourceFromName("slothbot"), "spawnBot", 0,0,12.75, rot, skin, interior, dimension, false, 10, following, modesubject) <-- тут нужно заменить following на mode, либо "following"
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now