Removing default garages with RemoveBuilding(..) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Removing default garages with RemoveBuilding(..) (
/showthread.php?tid=361818)
Removing default garages with RemoveBuilding(..) -
w00t - 22.07.2012
Yo.
There is a bug with removeBuildingForPlayer(...)
If you remove a default GTA garage (which is used if single player), it doesn't remove the camera changes in the garage's place.
[ame="http://www.youtube.com/watch?v=sivhqH-Zdg4"]VIDEO[/ame]
Re: Removing default garages with RemoveBuilding(..) -
Vince - 22.07.2012
The camera is set by the game itself and is in no way directly linked to the object. There is a special section in the game's map files which defines the garages (and the camera) as a three-dimensional cubicle in the world space.
Re: Removing default garages with RemoveBuilding(..) -
w00t - 22.07.2012
I know, but If they can make the default map objects removable, they can do this thing disabled, or removable
Re: Removing default garages with RemoveBuilding(..) -
Lorenc_ - 22.07.2012
I'm definitely sure that shadow is an object, though has no collision (thus cannot be selected on Jernejls map editor). It'd be a pain in the ass looking for what model it actually is :O
Re: Removing default garages with RemoveBuilding(..) -
Pinguinn - 22.07.2012
Quote:
Originally Posted by w00t
I know, but If they can make the default map objects removable, they can do this thing disabled, or removable
|
It is scriptable..
Use a timer, IsPlayerInArea and SetCameraBehindPlayer
AW: Removing default garages with RemoveBuilding(..) -
BigETI - 22.07.2012
Removing the moving part may crash your client some time.