ShaneR Posted January 21, 2018 Share Posted January 21, 2018 Hello, I created a bot with this resource, but I can't kill him, I don't know why. Main lines: function startFirstWave(player) actualBots[1] = exports.slothbot:spawnBot(1812.23999, -1253.47363, 13.72, 0, math.random(102, 104), 0, 80, nil, 22, "chasing", player) createBlipAttachedTo(actualBots[1], 0, 2, 231, 0, 231, 210, 0, 9999999, player) end --There are another functions, but they have nothing to do with this. Link to comment
DRW Posted January 22, 2018 Share Posted January 22, 2018 (edited) 21 hours ago, ShaneR said: Hello, I created a bot with this resource, but I can't kill him, I don't know why. Main lines: function startFirstWave(player) actualBots[1] = exports.slothbot:spawnBot(1812.23999, -1253.47363, 13.72, 0, math.random(102, 104), 0, 80, nil, 22, "chasing", player) createBlipAttachedTo(actualBots[1], 0, 2, 231, 0, 231, 210, 0, 9999999, player) end --There are another functions, but they have nothing to do with this. " Something like this happened to me a couple of years ago. Check EVERY single clientsided script which has the event "onClientPedDamage" in it and look for the cancelEvent() part of that event. Then, remove that line. Edited January 22, 2018 by MadnessReloaded Link to comment
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