Removing default garages with RemoveBuilding(..)
#1

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]
Reply
#2

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.
Reply
#3

I know, but If they can make the default map objects removable, they can do this thing disabled, or removable
Reply
#4

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
Reply
#5

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
Reply
#6

Removing the moving part may crash your client some time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)