SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 22/07/2012, 12:42 PM   #1
w00t
Little Clucker
 
Join Date: Jun 2012
Posts: 5
Reputation: 0
Default Removing default garages with RemoveBuilding(..)

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.

w00t is offline   Reply With Quote
Old 22/07/2012, 01:40 PM   #2
Vince
High-roller
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 4,881
Reputation: 1414
Default Re: Removing default garages with RemoveBuilding(..)

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.
__________________

Progress doesn't come from early risers — progress is made by lazy men looking for easier ways to do things.
Robert A. Heinlein
Vince is offline   Reply With Quote
Old 22/07/2012, 01:47 PM   #3
w00t
Little Clucker
 
Join Date: Jun 2012
Posts: 5
Reputation: 0
Default Re: Removing default garages with RemoveBuilding(..)

I know, but If they can make the default map objects removable, they can do this thing disabled, or removable
w00t is offline   Reply With Quote
Old 22/07/2012, 07:28 PM   #4
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 4,006
Reputation: 832
Default Re: Removing default garages with RemoveBuilding(..)

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
__________________

66.85.149.2:7777 - An awesome CnR server consisting of doozy features! Come, we have players!



Looking to invest in unique projects under Irresistible Gaming! Contact if you have one
Lorenc_ is offline   Reply With Quote
Old 22/07/2012, 08:13 PM   #5
Pinguinn
Huge Clucker
 
Join Date: Aug 2011
Location: The Netherlands
Posts: 368
Reputation: 34
Default Re: Removing default garages with RemoveBuilding(..)

Quote:
Originally Posted by w00t View Post
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
Pinguinn is offline   Reply With Quote
Old 22/07/2012, 08:25 PM   #6
BigETI
Huge Clucker
 
BigETI's Avatar
 
Join Date: Mar 2010
Location: Germany
Posts: 466
Reputation: 62
Default AW: Removing default garages with RemoveBuilding(..)

Removing the moving part may crash your client some time.
__________________
[Tutorial] Binary file I/O in PAWN
[TnG] Operation San Fierro - Zombies: 31.172.242.170:7777
Code:
<Alcor> used to play those when I was a child
<Alcor> good times
<Southclaw> Boobs?
<CJ101> .
<Alcor> no
<Alcor> tetris
Titros - A Tetris Clone on Indie DB

http://www.indiedb.com/games/titros-a-tetris-clone

BigETI is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Some One help me with Removebuilding? GAMER_PS2 Scripting Help 3 30/03/2012 02:33 PM
RemoveBuilding juank Español/Spanish 9 15/02/2012 09:38 PM
Removing other player icons from the map and removing the yellow arrow. davelord Scripting Help 2 10/01/2012 03:07 PM
removebuilding and gmx , is it a bug or what HuSs3n Scripting Help 0 30/12/2011 01:55 PM
Removing default houses/buisnesses. Givens Help Archive 2 28/08/2010 01:51 AM


All times are GMT. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.