Spawngta27

User

Joined on Dec 04 2020

BUG IN TogglePlayerRubbish(playerid, false);
Open
Snapshot 4.1.6
the garbage is visible again even when you have TogglePlayerRubbish(playerid, false);

try to fix it by putting this:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid){  TogglePlayerRubbish(playerid, false); return 1;
}

But it does not work.
the only solution is to re-spawn
when you use SetPlayerPos or SetPlayerIntior
or when you walk in and out of an interior naturally