ikkentim / SampSharp

A framework for writing game modes for SA-MP in C#. SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas.
https://sampsharp.net
Apache License 2.0
210 stars 42 forks source link

GlobalObject.Remove either RemoveBuildingForPlayer won't remove furniture objects! #394

Closed spreadhaz closed 2 years ago

spreadhaz commented 2 years ago

I'm trying to remove furniture objects for some default interiors in map. It does delete them only while player is in their current position, but they respawn after player leaves the interior. (It only works well for objects in exterior map)

LDami commented 2 years ago

Hey @spreadhaz, do you have the same behavior in Pawn ?

ikkentim commented 2 years ago

SampSharp simply calls the the natives. It looks like the problem you describe is unlikely to be caused by SampSharp.

Please reopen if you think I'm wrong here.