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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
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.. Server Name: mR|Team Clan Race Server Server IP: 84.82.81.225:22004
dzek (varez) Posted June 12, 2010 Posted June 12, 2010 post count doesnt equal the knowledge and/or intelligence.. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Recommended Posts