RemoveBuildingForPlayer
#1

I'm trying to remove 5 objects, but they're still visible and you can be inside the object..



pawn Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 615, 1738.92969, 616.75781, 9.75781, 200.0);
    RemoveBuildingForPlayer(playerid, 8056, 1735.85938, 519.15625, 25.15625, 200.0);
    RemoveBuildingForPlayer(playerid, 1290, 1716.95154, 461.07434, 31.8828, 200.0);
    RemoveBuildingForPlayer(playerid, 1290, 1750.30286, 556.72589, 26.08371, 200.0);
    RemoveBuildingForPlayer(playerid, 8129, 1735.875, 519.00781, 4.35938, 200.0);
    return 1;
}
Reply
#2

maybe there is filterscript who stucks the server objects , i mean that stock dosent let the server to move anyobject from the original place , but i was having this problem along time ago , and i just created an fitlerscript , Define Your remove object , and on player connect (in filterscript)

PHP код:
public OnPlayerConnect(playerid)
{
    
"your define i said before "(playerid); //without " "
    
return 1;

Reply
#3

You did not delete the LOD objects.
Reply
#4

Quote:
Originally Posted by [uL]Pottus
Посмотреть сообщение
You did not delete the LOD objects.
Umm, never been into this before, soo could you tell me how I can delete those objects?
Reply
#5

Having the same issue really. I can't find a fix, I've attempted to remove allsorts of objects multiple times with different methods and they just won't remove.
Reply
#6

this should work:

Код:
RemoveBuildingForPlayer(playerid, 8028, 1735.8594, 519.1563, 25.1563, 0.25);
RemoveBuildingForPlayer(playerid, 8056, 1735.8594, 519.1563, 25.1563, 0.25);
RemoveBuildingForPlayer(playerid, 8128, 1735.8750, 519.0078, 4.3594, 0.25);
RemoveBuildingForPlayer(playerid, 8129, 1735.8750, 519.0078, 4.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1290, 1716.7813, 460.8906, 35.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1290, 1750.1094, 556.5469, 31.0391, 0.25);
RemoveBuildingForPlayer(playerid, 615, 1738.9297, 616.7578, 9.7578, 0.25);
removes the Bridge and that tree you wanted 2 remove + it's LOD's

i'd suggest you use the real map editor for samp next time
Reply
#7

Hehe, thank you very much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)