i tried to hide this object from map but i couldn't why ? (i can hide other map objects)
code; HideMapObject(1815,-637.278, 834.331, 12.4208)
SS(https://i.imgur.com/htnHRsI.png)
(https://i.imgur.com/4N2Eu4i.png)
Try using the coordinates as defined in downtows.ipl itself
// 1815, dts_cop_park, 0, -637.277771, 834.3309326, 12.42084503, 1, 1, 1, 0, 0, 0, 1
HideMapObject(1815, -637.277771, 834.3309326, 12.42084503)
Quote from: Murdock on Aug 11, 2020, 07:49 PMTry using the coordinates as defined in downtows.ipl itself
// 1815, dts_cop_park, 0, -637.277771, 834.3309326, 12.42084503, 1, 1, 1, 0, 0, 0, 1
HideMapObject(1815, -637.277771, 834.3309326, 12.42084503)
i placed the code
HideMapObject(1815, -637.277771, 834.3309326, 12.42084503)
but still here :D
(https://i.imgur.com/pTiWPz0.png)
Idea: Since there are many cop's parking, i think some other parking space is being hidden. By looking at the co-ordinates, i have a feeling that the object you are trying to hide is little ahead (north) of where you are standing.
what you say?
Quote from: habi on Aug 12, 2020, 04:14 PMIdea: Since there are many cop's parking, i think some other parking space is being hidden. By looking at the co-ordinates, i have a feeling that the object you are trying to hide is little ahead (north) of where you are standing.
what you say?
i don't think so, co-ordinates are correct i tried before mine and murdock's. ( there is no co-ordinates except them they must be the correct one cuz i can hide other objects with same way )
u can try also
Quote from: habi on Aug 12, 2020, 04:14 PMBy looking at the co-ordinates, i have a feeling that the object you are trying to hide is little ahead (north) of where you are standing.
what you say?
probably cause of object's size
(https://i.imgur.com/TxuJ3tv.png)
If I remember correctly, some objects don't hide for some reason (vcmp bug, don't know if it still exists) but you can give this a try:
RawHideMapObject(1815, -637, 834, 12)
Quote from: Xmair on Aug 12, 2020, 06:20 PMIf I remember correctly, some objects don't hide for some reason (vcmp bug, don't know if it still exists) but you can give this a try:
RawHideMapObject(1815, -637, 834, 12)
nope it didn't work either :(
Finally i went to downtown.
(https://i.imgur.com/6tgbBMq.jpg)
This is where you are( HideMapObject(1815, -637.277771, 834.3309326, 12.42084503)
(https://i.imgur.com/Eb1NfCJ.png)
and look below for original co-ordinates.
Original
(https://i.imgur.com/7uOExVc.png)
I used to make bots in downtown, so i know a bit of co-ordinates there!
dude add the object with this position -637.278, 834.331, 12.4208
you'll see, here is the file of object https://dosya.co/0tizbzrvctln/store.7z.html
hi KrooB, HideMapObjects i think is for hiding map objects which was already there.
If you are trying to hide custom objects, try object.World=-1 or something. ?
I have not worked with objects that much.
no i just trying to verify the position of object and showing it. My problem is still this map object (not custom)
(https://i.imgur.com/pTiWPz0.png)
i am totally confused.
Are you trying to hide 'POLICE ONLY' object?
Quote from: habi on Aug 13, 2020, 12:21 PMi am totally confused.
Are you trying to hide 'POLICE ONLY' object?
yes
Oh i understood. The object is a very big one. It is a rectangle which consists of three or four 'POLICE ONLY'.
I went ingame tried to hide this object. Not working. There is another object of same ID in downtown. I tried hiding it too.
May be this is some VCMP bug .
Case is closed then :( thanks guys :)