Make an object fixed - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Make an object fixed (
/showthread.php?tid=422782)
Make an object fixed -
pasha97 - 15.03.2013
I found the object that i needed, but i found one confusing thing. If you touch this object, it falls on the ground and players can move it. This object i speak about is 2937 Is there any way to make it fixed? Thanks in advance
Re: Make an object fixed -
Stylock - 15.03.2013
The only trick I can think of is attaching it to another object (for example 19300).
Re: Make an object fixed -
pasha97 - 15.03.2013
Quote:
Originally Posted by YJIET
The only trick I can think of is attaching it to another object (for example 19300).
|
hmm, its impossible with streamer
Re: Make an object fixed -
Glad2BeHere - 15.03.2013
https://sampwiki.blast.hk/wiki/AttachObjectToObject
It shouldn't fall cuz its attachto anotherobject
... make sure the other object is small so it isn't noticable...
attach this object to another object not another object to it
Re: Make an object fixed -
pasha97 - 15.03.2013
Quote:
Originally Posted by Glad2BeHere
|
It won't work with streamer's dynamic objects, because objects created by streamer are player objects. You can see it on that page that you sent me.
Re: Make an object fixed -
Glad2BeHere - 15.03.2013
ik but its still okay 2 use createobject(); for certain things....
Re: Make an object fixed -
pasha97 - 15.03.2013
Quote:
Originally Posted by Glad2BeHere
ik but its still okay 2 use createobject(); for certain things....
|
in my case its not advisable xD. Im making minecraft gm, where players can make as many objects as they can, so it might be too many not streamed objects
Re: Make an object fixed -
Glad2BeHere - 15.03.2013
what is the purpose of object id 2937(bridge or something
)
Re: Make an object fixed -
iggy1 - 15.03.2013
Other than putting an invisible object (with collisions) below the object in question, or attaching it to one like previously mentioned, there is no way to do it without creating/editing objects. I guess the object has a flag to make it be affected by gravity (just a guess).