How to remove buildings? - 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: How to remove buildings? (
/showthread.php?tid=305695)
How to remove buildings? -
[Headless] - 23.12.2011
How do I remove certain buildings that I want?I used JernejL's Map Editor but I don't know where to put the codes
example :
pawn Код:
RemoveBuildingForPlayer(playerid, 1408, 1093.3047, -293.7813, 73.5703, 0.25);
Re: How to remove buildings? -
Calgon - 23.12.2011
Place the code wherever it should be. The most common place to put it is usually in OnPlayerConnect or OnPlayerSpawn.
Re: How to remove buildings? -
[Headless] - 23.12.2011
Quote:
Originally Posted by Calgon
Place the code wherever it should be. The most common place to put it is usually in OnPlayerConnect or OnPlayerSpawn.
|
I've tried that but it gives me
pawn Код:
error 017: undefined symbol "RemoveBuildingForPlayer"
Re: How to remove buildings? -
Ash. - 23.12.2011
You haven't got the latest 0.3d includes, then.
//Shameless advertisement:
If you wish to keep all your mapping code together, then you can take a look at my include (
RemoveBuilding). While this won't fix your issue as you still need the latest 0.3d includes, it helps make code more 'segmented' so you can see what bits of code are related to maps, etc.
Re: How to remove buildings? -
[Headless] - 23.12.2011
Quote:
Originally Posted by funky1234
You haven't got the latest 0.3d includes, then.
//Shameless advertisement:
If you wish to keep all your mapping code together, then you can take a look at my include ( RemoveBuilding). While this won't fix your issue as you still need the latest 0.3d includes, it helps make code more 'segmented' so you can see what bits of code are related to maps, etc.
|
Thanks it work now , I will surely look at your include repped.
Re: How to remove buildings? -
Ash. - 23.12.2011
Quote:
Originally Posted by [Headless]
Thanks it work now , I will surely look at your include repped.
|
Glad I could help.