SA-MP Forums Archive
Could this be causing crashes? - 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: Could this be causing crashes? (/showthread.php?tid=615948)



Could this be causing crashes? - Dokins - 29.08.2016

pawn Код:
RemoveBuildingForPlayer(playerid, 1413, 66.7969, 1207.1563, 18.9922, 0.25);
    RemoveBuildingForPlayer(playerid, 1413, 72.0859, 1206.8828, 18.9922, 0.25);
    RemoveBuildingForPlayer(playerid, 1413, 73.0938, 1228.0391, 19.0781, 0.25);
    RemoveBuildingForPlayer(playerid, 1413, 77.3594, 1206.8828, 18.9922, 0.25);
Although the objects are the same model they are different positions.

Players have been getting this issue:
Код:
SA-MP 0.3.7
Exception At Address: 0x007324B6
Exception: 0xC0000005 - Access violation reading location 0xC1000007



Re: Could this be causing crashes? - Vince - 29.08.2016

You can try condensing all of them in one line. The SA-MP map editor deletes objects one by one and puts a range of 0.25 for each. But all these objects are the same and they're not 10 meters apart from one another, so you can probably do it in one line by picking a center point and using a larger range.