HideMapObject doesn't hide one object....
HideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi60.tinypic.com%2F29w0acg.png&hash=86a02139a4096696bd34dd6d02f44b697ed794b0)
In game effect (two objects in the same position):
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi59.tinypic.com%2Feq47jp.png&hash=6b68cfe5dea46d7c907f59bc32df56fbf60428bd)
And screen from 3ds max (new object).
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi59.tinypic.com%2F2mm5l6t.png&hash=5aa05d22104a8111be15c28f342c9e01dbe3df72)
Try
RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);
Quote from: MatheuS on Jul 26, 2015, 11:58 PMTry
RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);
RawHideMapObject - In Position, you can't use float, olny integear. I replace to integear but the same effect (2 objects).
Quote from: rwwpl on Jul 27, 2015, 12:05 AMQuote from: MatheuS on Jul 26, 2015, 11:58 PMTry
RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);
RawHideMapObject - In Position, you can't use float, olny integear. I replace to integear but the same effect (2 objects).
Multiply by 10 and round to nearest value if you're using RawHideMapObject:
RawHideMapObject(1085, -17116, -2039, 159);
Quote from: maxorator on Jul 27, 2015, 12:38 AMQuote from: rwwpl on Jul 27, 2015, 12:05 AMQuote from: MatheuS on Jul 26, 2015, 11:58 PMTry
RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);
RawHideMapObject - In Position, you can't use float, olny integear. I replace to integear but the same effect (2 objects).
Multiply by 10 and round to nearest value if you're using RawHideMapObject:
RawHideMapObject(1085, -17116, -2039, 159);
The same effect (2 objects).
For other objects, function HideMapObject works, but i don't know, why for that object doesn't work.
These functions also cant hide mansion bridges
That does mean its a bug tho, maxorator should fix it
I reported this too, in 2014.
Some objects just cannot be hidden... there are many examples.
Any progress for fix it?
Can we get this fixed please.
I can't hide some objects near mansion too :(