SA-MP Forums Archive
Destroy Building!!! - 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: Destroy Building!!! (/showthread.php?tid=509257)



Destroy Building!!! - pipin12lo - 26.04.2014

Please see the video below and please help me.


http://*********/P1V5aJ6cm9w


The building contained in the video briefly disappear and reappear, I want the building to disappear and not show up again. anyone can help?


Re: Destroy Building!!! - Evocator - 26.04.2014

https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer


Re: Destroy Building!!! - Mriss - 26.04.2014

use Jernejl's Map Constructor, Delete the building. Press ShowCode put it OnPlayerCOnnect in your script


Re: Destroy Building!!! - pipin12lo - 28.04.2014

Jernejl's Map Constructor application or not?


Re: Destroy Building!!! - pipin12lo - 28.04.2014

I'am use
Код:
RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
But the building is sometimes disappear.


Re: Destroy Building!!! - GeasyW - 28.04.2014

Make a filterscript of your code like .. :
pawn Код:
public OnPlayerConnect (playerid)
{
RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
return 1;
}
You need to add your Map codes on top of this,
pawn Код:
#include <a_samp>
#include streamer

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Loading Mappings...");
    print("---------------------------------------/n");
  // Add mappings bellow

return 1;
}