Jump to content

no car dmg[SOLVED]


kevin11

Recommended Posts

Posted (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 by Guest
Posted

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 )

Posted

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)!

Posted
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

Posted

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)!

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...