jeremaniak Posted June 8, 2012 Share 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 ) Link to comment
TAPL Posted June 8, 2012 Share 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 Link to comment
Moderators IIYAMA Posted June 8, 2012 Moderators Share Posted June 8, 2012 But if you set damage proof will the fire go out? Link to comment
TAPL Posted June 8, 2012 Share Posted June 8, 2012 But if you set damage proof will the fire go out? Yes Link to comment
UAEpro Posted June 8, 2012 Share Posted June 8, 2012 function createFireAt() createFire(908.00067138672, -1732.1739501953, 1384.4288330078, 30) end addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), createFireAt ) Link to comment
jeremaniak Posted June 8, 2012 Author Share Posted June 8, 2012 thanks guys for the awnsers 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