mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-09 02:43:38 +08:00
fix(ScriptEventHandler): Actually catch bad hashes
This commit is contained in:
parent
c7c0c8011f
commit
bd7e2467e7
@ -65,6 +65,14 @@ namespace big
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case eRemoteEvent::Crash:
|
||||||
|
if (g->protections.script_events.crash)
|
||||||
|
{
|
||||||
|
format_string(player_name, "TSE Crash", notify.crash.log, notify.crash.notify);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case eRemoteEvent::FakeDeposit:
|
case eRemoteEvent::FakeDeposit:
|
||||||
if (g->protections.script_events.fake_deposit)
|
if (g->protections.script_events.fake_deposit)
|
||||||
{
|
{
|
||||||
@ -89,6 +97,14 @@ namespace big
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case eRemoteEvent::MCTeleport:
|
||||||
|
if (g->protections.script_events.mc_teleport)
|
||||||
|
{
|
||||||
|
format_string(player_name, "MC Teleport", notify.mc_teleport.log, notify.mc_teleport.notify);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case eRemoteEvent::NetworkBail:
|
case eRemoteEvent::NetworkBail:
|
||||||
if (g->protections.script_events.network_bail)
|
if (g->protections.script_events.network_bail)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user