RemoveObject for player not properly working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RemoveObject for player not properly working (
/showthread.php?tid=614602)
RemoveObject for player not properly working -
cyberlord - 10.08.2016
Hello i have problem with removing an buildings and other objects they are removed but u can still see them from a far or a changing an angles , u can even go trough them like there is nothing exist but , they are visible from a far or by changing vision angles :
and then just move mouse a little and hes gone :
my game mode :
PHP код:
public OnPlayerConnect(playerid)
{
////////REMOVE BUILDING///////////////
////////////////////////BORDER CONTROL///////////////////////////
RemoveBuildingForPlayer(playerid, 1290, 1704.5847, -690.73291, 54.97647, 0.25);
RemoveBuildingForPlayer(playerid, 620, 109.57031, -1584.5469, 9.24219, 0.25);
RemoveBuildingForPlayer(playerid, 1283, 72.71748, -1548.1576, 8.14969, 0.25);
RemoveBuildingForPlayer(playerid, 17002, 52.89063, -1532.0312, 7.74219, 0.25);
/////////////////////CAR SHOPS ///////////////////////////////////////
RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9062, 12.52344, 0.25);
RemoveBuildingForPlayer(playerid, 1219, 1285.2584, -1239.6621, 13.24752, 0.25);
RemoveBuildingForPlayer(playerid, 5857, 1259.4375, -1246.8125, 17.10938, 0.25);
RemoveBuildingForPlayer(playerid, 1391, 1241.2052, -1258.1057, 16.19035, 0.25);
RemoveBuildingForPlayer(playerid, 1388, 1230.1039, -1266.9054, 62.37212, 0.25);
return 1;
}
4019 is the bulding in the pictures
Re: RemoveObject for player not properly working -
Shinja - 10.08.2016
Never happened to me, you use streamer?
Or maybe you just need StreamMemFix if it happens only for you
Re: RemoveObject for player not properly working -
AbyssMorgan - 10.08.2016
RemoveObject working properly.
I think you missed remove Object LOD.
Re: RemoveObject for player not properly working -
cyberlord - 10.08.2016
Quote:
Originally Posted by Shinja
Never happened to me, you use streamer?
Or maybe you just need StreamMemFix if it happens only for you
|
Yes i am using steamer
Quote:
Originally Posted by AbyssMorgan
RemoveObject working properly.
I think you missed remove Object LOD.
|
What do u mean LOD ?
Solve this problem by removing an objects with a Jernejl's map editor now everything as it should be