RemoveBuildingForPlayer scripting help
#1

Hey guys, I need help with the RemoveBuildingForPlayer.
Look, I will upload a picture

Picture:


Code:
PHP код:
public OnPlayerConnect(playerid)
{
    
RemoveBuildingForPlayer(playerid40021479.86719, -1790.3984456.0234496.110511779785); // Remove LA_Cityhall
    
RemoveBuildingForPlayer(playerid39801481.1875, -1785.0703122.3828177.638008117676); // Remove LA_Cityhall 2 
And It's Still didn't remove, help me?
Reply
#2

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);
Reply
#3

I will check it and back to you,
And what is LOD?
Reply
#4

THANK YOU THANK YOU THANK YOU!!!!
ITS WORK YES!
Reply
#5

And look, you see the america flags?
I can't remove that from the MTA, why?
Reply
#6

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)