Help RemoveBuilding Map - 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: Help RemoveBuilding Map (
/showthread.php?tid=546729)
Help RemoveBuilding Map -
TVDYNAMO - 17.11.2014
I want to create some default RemoveBuilding, when I joined the game, and use the command to load it, someone can help me this problem thanks.
AW: Help RemoveBuilding Map -
TVDYNAMO - 19.11.2014
Help .
Re: Help RemoveBuilding Map -
semara123 - 19.11.2014
Hmm ithink you cant do that you cant use command to unload building because it will error so use filterscript and add remove building command or add it on ongamemodeinit
If this helpful give me +rep
Sorry for my bad english
Re: Help RemoveBuilding Map -
Banana_Ghost - 19.11.2014
You should use OnPlayerConnect to use RemoveBuildingForPlayer, for example:
pawn Код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 1372, 0.0, 0.0, 0.0, 100.0);
return 1;
}
What this does, is when the player connects, it removes the Building or Object placed in the default San Andreas for them.