RemoveBuildingForPlayer
#1

First, Sorry about my English level.

Hi.
When i using RemoveBuildingForPlayer function, it's work. but working bad.
When i'm enter to the removed object, and i looking to the ground, i can see the object (see - but it doesn't exists of cours)

I tried to play with the Distance, but it isn't work,
Someone can help me? Remove This Object FOREVER!.

My codes if it help:
Код:
	RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703125, 22.3828125, 500.0);
	RemoveBuildingForPlayer(playerid, 4002, 1479.8671875, -1790.3984375, 56.0234375, 500.0);
	RemoveBuildingForPlayer(playerid, 1231, 1479.88269, -1832.85364, 13.75042, 500.0);
	RemoveBuildingForPlayer(playerid, 1231, 1529.32288, -1832.76868, 13.72629, 500.0);
	RemoveBuildingForPlayer(playerid, 1231, 1432.20056, -1832.91565, 14.33422, 500.0);
	RemoveBuildingForPlayer(playerid, 1372, 1468.392211, -1847.381469, 13.257949, 500.0);
	RemoveBuildingForPlayer(playerid, 1372, 1485.845092, -1847.959350, 13.659350, 500.0);
	RemoveBuildingForPlayer(playerid, 1357, 1487.695312, -1848.109375, 12.812500, 500.0);
	RemoveBuildingForPlayer(playerid, 1230, 1488.953369, -1847.858764, 13.020190, 500.0);
	RemoveBuildingForPlayer(playerid, 1265, 1465.621093, -1847.909545, 12.970800, 500.0);
	RemoveBuildingForPlayer(playerid, 4171, 1503.398437, -1848.335937, 21.460939, 500.0);
	RemoveBuildingForPlayer(playerid, 4170, 1433.953125, -1844.406250, 21.421880, 500.0);
The real distance:
Код:
	RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703125, 22.3828125, 77.6380081);
	RemoveBuildingForPlayer(playerid, 4002, 1479.8671875, -1790.3984375, 56.0234375, 96.1105117);
	RemoveBuildingForPlayer(playerid, 1231, 1479.88269, -1832.85364, 13.75042, 4.9518890380859);
	RemoveBuildingForPlayer(playerid, 1231, 1529.32288, -1832.76868, 13.72629, 4.9518890380859);
	RemoveBuildingForPlayer(playerid, 1231, 1432.20056, -1832.91565, 14.33422, 4.9518890380859);
	RemoveBuildingForPlayer(playerid, 1372, 1468.392211, -1847.381469, 13.257949, 3.142135);
	RemoveBuildingForPlayer(playerid, 1372, 1485.845092, -1847.959350, 13.659350, 3.142135);
	RemoveBuildingForPlayer(playerid, 1357, 1487.695312, -1848.109375, 12.812500, 2.783954);
	RemoveBuildingForPlayer(playerid, 1230, 1488.953369, -1847.858764, 13.020190, 2.647931);
	RemoveBuildingForPlayer(playerid, 1265, 1465.621093, -1847.909545, 12.970800, 2.581803);
	RemoveBuildingForPlayer(playerid, 4171, 1503.398437, -1848.335937, 21.460939, 27.551355);
	RemoveBuildingForPlayer(playerid, 4170, 1433.953125, -1844.406250, 21.421880, 38.717815);
PLEASE HELP!
Reply
#2

UP..
Reply
#3

Need to remove the LOD. You could also find that answer in countless other topics AND on the wiki page.
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Need to remove the LOD. You could also find that answer in countless other topics AND on the wiki page.
No, no.. i search, and i didn't find an answer, You cannot to help me ?
Reply
#5

what about maybe there is a objets in other filterscript or something hmm, try next time to make a copy of gamemode.
Reply
#6

Quote:
Originally Posted by Deividas1
Посмотреть сообщение
what about maybe there is a objets in other filterscript or something hmm, try next time to make a copy of gamemode.
I tried to do anything, and i don't have any filterscript that i loaded, so nothing can do it, and it's only this object! only this.

the Los Santos maylor building, there's 2 objects over there
It remove the object, but when i look on the ground they back (but i can steel moved in the object)

Код:
	RemoveBuildingForPlayer(playerid, 4002, 1479.8671875, -1790.3984375, 56.0234375, 96.1105117);
	RemoveBuildingForPlayer(playerid, 1231, 1479.88269, -1832.85364, 13.75042, 4.9518890380859);
Reply
#7

up!!
Reply
#8

which software do you use to do the removebuilding code?
Don't use Mta, it's a knowed problem of it.
Use editor.
Reply
#9

Did u create same type of objects... At same place ?
Reply
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Need to remove the LOD. You could also find that answer in countless other topics AND on the wiki page.
That's right. Check JernejL's SA-MP Map editor which is removing the LOD.

Quote:
Originally Posted by JernejL
Посмотреть сообщение
This will generate code for deleting the object, and it's low-detail LOD (if any)
Here is the link.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)