Remove world object
#1

How do i remove a world object for samp?
i deleted a house in MTA and replaced it with another one and now the two houses are on top of each other??
Reply
#2

ok i got it now its RemoveBuildingForPlayer
Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
    return 1;
}
but how do i find the id of the building now? its the little building in Big Ear
Reply
#3

Use MapEditor to find the ID
https://sampforum.blast.hk/showthread.php?tid=282801
Reply
#4

Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
    return 1;
}
so i put the ID in where 615 is?
Reply
#5

You need to open up map editor and press DELETE when you've selected the object that you want to delete (it will be in RED once you select it), I hope that I helped you!.
Reply
#6

thx for the help i got it working
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)