SA-MP Forums Archive
Player sees through the wall - 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: Player sees through the wall (/showthread.php?tid=386880)



Player sees through the wall - Chaster - 22.10.2012

Hi!
I created my house system and i found one bug: player's camera goes through the wall.

Pics:




How i can fix it? (the camera not to go through the wall)
(Sorry for my bad english)


Re: Player sees through the wall - gtakillerIV - 22.10.2012

You can't since you mapped them.

For example on mapped roads you can see through them.

Mapped objects = You can see through them via camera.

Pro mappers correct me if I'm wrong but 99% I'm right.


Re: Player sees through the wall - WizBoy - 22.10.2012

I think you have not mapped correctly or the X,Y,Z coords of Script are not OK



Re: Player sees through the wall - EV007 - 22.10.2012

every object mapped won't be solid to the player's camera.


Re: Player sees through the wall - gtakillerIV - 22.10.2012

Quote:
Originally Posted by WizBoy
Посмотреть сообщение
I think you have not mapped correctly or the X,Y,Z coords of Script are not OK


Seriously dude? What does the X,Y, and Z coordiantes have to do with this?

It's because of the objects.


Re: Player sees through the wall - Chaster - 22.10.2012

One bugged object's coord: 2914.49267578,-1900.44836426,497.61706543
Interior ID: 1
Full:
CreateDynamicObject(14713,2914.49267578,-1900.44836426,497.61706543,0.00000000,0.00000000,0 .00000000,-1,-1); //object(int2hoose16) (1)