UngratefulDead Posted November 16, 2015 Share Posted November 16, 2015 I want to have an item that doesn't work every time, sometimes it sets the player on fire instead. I have all of that coded in the LUAs, except I'm hung up getting the fire to start. It doesn't seem to be:getPlayer():getBodyDamage():setIsOnFire(1);Because that gives me a stack trace. I'd be okay if it also set the square itself on fire (although I'm not sure how it would work on servers with no firespread), I just thought that would probably be a little trickier. Link to comment Share on other sites More sharing options...
billwa Posted January 2, 2016 Share Posted January 2, 2016 Have you tried to trigger it via an item or an alternative script? Link to comment Share on other sites More sharing options...
ethanwdp Posted January 13, 2016 Share Posted January 13, 2016 Sorry for the very late reply, I just seen this thread.Coincidentally I have experience with setting things on fire via my work on Cheat Menu, so I might be able to scribble something out quickly...local function startFire() local player = getPlayer(); player():getSquare():StartFire();end Link to comment Share on other sites More sharing options...
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