kevin11 Posted June 12, 2010 Share Posted June 12, 2010 (edited) i made a hack server today and i tried making a anti dmg for any vehicle addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), function() setVehicleDamageProof( ??????, true) end) Edited June 12, 2010 by Guest Link to comment
kevin11 Posted June 12, 2010 Author Share Posted June 12, 2010 nvm i made new one and it works so i post sullution here vehicles = getElementsByType ( "vehicle" ) for vehicleKey, vehicleValue in ipairs(vehicles) do setVehicleDamageProof( vehicleValue, true) end addEventHandler ( "onVehicleEnter", setVehicleDamageProof ) Link to comment
dzek (varez) Posted June 12, 2010 Share Posted June 12, 2010 yea, its better to search and think (okay, that was a joke in your case) for 20 minutes, than posting yet-another-simple-problem here Link to comment
kevin11 Posted June 12, 2010 Author Share Posted June 12, 2010 yea, its better to search and think (okay, that was a joke in your case) for 20 minutes, than posting yet-another-simple-problem here uhuh ty ii gues Link to comment
TheRealCow Posted June 12, 2010 Share Posted June 12, 2010 you should use more wiki.. and debug.. not always come to forum.. Link to comment
dzek (varez) Posted June 12, 2010 Share Posted June 12, 2010 post count doesnt equal the knowledge and/or intelligence.. Link to comment
Recommended Posts