Removed globalplayer_bd IsInvisible set call. (#2416)
This commit is contained in:
parent
e56ee4e2b8
commit
3275459431
@ -24,14 +24,11 @@ namespace big
|
|||||||
|
|
||||||
if (g.self.local_visibility)
|
if (g.self.local_visibility)
|
||||||
NETWORK::SET_ENTITY_LOCALLY_VISIBLE(self::ped);
|
NETWORK::SET_ENTITY_LOCALLY_VISIBLE(self::ped);
|
||||||
|
|
||||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].IsInvisible = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void on_disable() override
|
virtual void on_disable() override
|
||||||
{
|
{
|
||||||
ENTITY::SET_ENTITY_VISIBLE(self::ped, true, 0);
|
ENTITY::SET_ENTITY_VISIBLE(self::ped, true, 0);
|
||||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].IsInvisible = false;
|
|
||||||
g_script_patcher_service->update();
|
g_script_patcher_service->update();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user