Chaos Posted August 16, 2016 Share Posted August 16, 2016 Hi, so i tried to make change in slothbot script that Bot could use Rocket launcher but the problem is when he shoots on ground or nearby he'll die and message appears as a player has killed him, how can i fix this kind of issue ? function mon (killer) if killer and killer ~= source and isElement( killer ) and getElementType(killer) == "player" then if source == Nemesis then outputChatBox ("[NEMESIS-ANNOUNCEMENT] "..getPlayerName(killer):gsub('#%x%x%x%x%x%x', '').." has killed a Nemesis.",root,0,255,0) end end boss() end addEvent("onBotWasted",true) addEventHandler("onBotWasted",getRootElement(), mon ) 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