Jump to content

make breakalbe object unbreakable


dzek (varez)

Recommended Posts

Posted

hi

i need to make breakable object unbreakable..

to be precise: container (that one you can found on ships/at docks etc) should hover in air, and sometimes when somebody hits it, it falls into water :( i dont want it that way

any scripting ways to do that? or should i replace containers with something else?

edit:

i;ve found setObjectStatic

i think it will be good, but now im going to sleep, if anybody knows - pls tell me :)

on wiki we can read:

Note that not all objects that are static by default can be made nonstatic.

I hope theres no restrictions like that in opposite way

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

2934, 2935, 3043

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

hmm, thats the idea :P

setObjectStatic wont work anyway?

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
setObjectStatic wont work anyway?

setObjectStatic only disables them to move if I remember correctly. So disabling animations, and pushing objects etc. I don't exactly know if that's what you need, but I'd say try it and see if it's what you're looking for.

Projects:

Slothbot | Maximap

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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