mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
Removed globalplayer_bd IsInvisible set call. (#2416)
This commit is contained in:
parent
f477190f60
commit
cac7a4aed5
@ -24,14 +24,11 @@ namespace big
|
||||
|
||||
if (g.self.local_visibility)
|
||||
NETWORK::SET_ENTITY_LOCALLY_VISIBLE(self::ped);
|
||||
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].IsInvisible = true;
|
||||
}
|
||||
|
||||
virtual void on_disable() override
|
||||
{
|
||||
ENTITY::SET_ENTITY_VISIBLE(self::ped, true, 0);
|
||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].IsInvisible = false;
|
||||
g_script_patcher_service->update();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user