RemoveBuildingForPlayer scripting help -
roncohen - 26.01.2014
Hey guys, I need help with the RemoveBuildingForPlayer.
Look, I will upload a picture
Picture:
Code:
PHP код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 4002, 1479.86719, -1790.39844, 56.02344, 96.110511779785); // Remove LA_Cityhall
RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.07031, 22.38281, 77.638008117676); // Remove LA_Cityhall 2
And It's Still didn't remove, help me?
Re: RemoveBuildingForPlayer scripting help -
pyrodojo25 - 26.01.2014
You didn't remove the LODs. I would recommend you using SA-MP Map Construction because it removes LODs automatically
pawn Код:
RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25); //LOD
RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25); //LOD
RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
Re: RemoveBuildingForPlayer scripting help -
roncohen - 26.01.2014
I will check it and back to you,
And what is LOD?
Re: RemoveBuildingForPlayer scripting help -
roncohen - 26.01.2014
THANK YOU THANK YOU THANK YOU!!!!
ITS WORK YES!
Re: RemoveBuildingForPlayer scripting help -
roncohen - 26.01.2014
And look, you see the america flags?
I can't remove that from the MTA, why?
Re: RemoveBuildingForPlayer scripting help -
pyrodojo25 - 26.01.2014
LOD is something like low detailed model. I guess you can't remove(or select?) that flag object in MTA because it has no collision.
pawn Код:
RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);