SA-MP Forums Archive
RemoveBuildingForPlayer - 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: RemoveBuildingForPlayer (/showthread.php?tid=301738)



RemoveBuildingForPlayer - AstonDA-G - 05.12.2011

Okay, so I wanted to remove one set of those yellow and white ramp thingies at LSAP, so I found the ID, and put this under OnPlayerSpawn.
pawn Код:
RemoveBuildingForPlayer(playerid, 3665, 1880.6985,-2542.3125,13.5469, 50.00);
As far as I could tell, there's nothing wrong with it, and no errors or warnings show up. When I go ingame, This is what I find...

Xfire Video: Clicky.

It seems it's deleting the object, as it's not solid, but it's still visible if you got your camera at the wrong angle.
I think that's all, please let me know if it's my fault, and I messed up with the scripting, but I don't think I have.

Thanks,
-Aston.


Re: RemoveBuildingForPlayer - Ash. - 05.12.2011

You have to remove the LOD objects too. Use JernejL's map editor (stickied in the Data, Maps and Tools section) to remove them.


Re: RemoveBuildingForPlayer - seanny - 05.12.2011

Remove the LOD aswell.