RemoveBuilding - 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: RemoveBuilding (
/showthread.php?tid=384431)
RemoveBuilding -
Major Tom - 11.10.2012
Hello, one and all.
I'm trying to remove some objects in Fort Carson. I used the Map Editor and got the RemoveBuildingForPlayer lines. However, when I add the code into my gamemode under (OnPlayerConnect) the objects are still there?
I've tried the RemoveBuilding.inc as well, and that's doing the same.
(^ To clarify, when using the .inc I -have- converted the lines. I've done all the necessary procedures for both methods and none of them remove the objects.)
EDIT: If I "/rcon gmx" the server, it then works.. what's going on?
Any tips?
Re: RemoveBuilding -
gnoomen2 - 11.10.2012
Maybe you can try with a FS and make a timer so it gets reloaded and the building gets removed.. dunno

maybe you should not add a timer

i am new to scripting, but just trying to help
Re: RemoveBuilding -
N0FeaR - 11.10.2012
https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer