kevin11 Posted June 12, 2010 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
kevin11 Posted June 12, 2010 Author 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 )
dzek (varez) Posted June 12, 2010 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
kevin11 Posted June 12, 2010 Author 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
TheRealCow Posted June 12, 2010 Posted June 12, 2010 you should use more wiki.. and debug.. not always come to forum..
dzek (varez) Posted June 12, 2010 Posted June 12, 2010 post count doesnt equal the knowledge and/or intelligence..
Recommended Posts