SA-MP Forums Archive
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(playerid12901704.5847, -690.7329154.976470.25);
        
RemoveBuildingForPlayer(playerid620109.57031, -1584.54699.242190.25);
        
RemoveBuildingForPlayer(playerid128372.71748, -1548.15768.149690.25);
        
RemoveBuildingForPlayer(playerid1700252.89063, -1532.03127.742190.25);
/////////////////////CAR SHOPS ///////////////////////////////////////
        
RemoveBuildingForPlayer(playerid40191777.8359, -1773.906212.523440.25);
        
RemoveBuildingForPlayer(playerid12191285.2584, -1239.662113.247520.25);
        
RemoveBuildingForPlayer(playerid58571259.4375, -1246.812517.109380.25);
        
RemoveBuildingForPlayer(playerid13911241.2052, -1258.105716.190350.25);
        
RemoveBuildingForPlayer(playerid13881230.1039, -1266.905462.372120.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