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=438771)



RemoveBuildingForPlayer - Gecko75 - 21.05.2013

Anyone know what include is needed for
Код:
RemoveBuildingForPlayer(playerid)
to work?

I've been looking everywhere, and can't find the right thing.


Re: RemoveBuildingForPlayer - Red_Dragon. - 21.05.2013

What do you mean by include ? RemoveBuildingForPlayer doesn't require any includes. Just make it with the correct parameters and place it below OnPlayerConnect. Read here for more information about RemoveBuildingForPlayer https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer


Re: RemoveBuildingForPlayer - benjaminjones - 21.05.2013

RemoveBuildingForPlayer is like CreateDynamicObject or CreateObject...YOu do not need includes or something for using it.

IF I HELPED +1


Re: RemoveBuildingForPlayer - IceBilizard - 22.05.2013

Here is an example of RemoveBuildingForPlayer

pawn Код:
public OnPlayerConnect(playerid)
{
 RemoveBuildingForPlayer(playerid, 966, -2436.8516, 495.4531, 28.9531, 0.25);
 return 1;
}
Код:
RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius)
If you are using MTA's Latest version then its easy to Delete objects and get X,Y,Z points