jeremaniak Posted June 8, 2012 Posted June 8, 2012 i am trying to set a vehicle on fire in a race map but the fire wont come i looked up at the wiki but it didnt worked:/ function createFireAt createFire(908.00067138672, -1732.1739501953, 1384.4288330078, 30) end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), createFireAt )
TAPL Posted June 8, 2012 Posted June 8, 2012 use setElementHealth and make it low like 0 - 249 https://wiki.multitheftauto.com/wiki/SetElementHealth if you don't want it get explode you have to use setVehicleDamageProof https://wiki.multitheftauto.com/wiki/Set ... amageProof
Moderators IIYAMA Posted June 8, 2012 Moderators Posted June 8, 2012 But if you set damage proof will the fire go out? Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
UAEpro Posted June 8, 2012 Posted June 8, 2012 function createFireAt() createFire(908.00067138672, -1732.1739501953, 1384.4288330078, 30) end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), createFireAt ) تيم سبيك بروجيمر ts3server://ts.pg.sa
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