mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 22:37:22 +08:00
fix(GetEventData): Changed settings.protections to settings.script_protections
This commit is contained in:
parent
f47c4d13d1
commit
c2dd750560
@ -13,7 +13,7 @@ namespace big
|
||||
if (result && player < 32)
|
||||
{
|
||||
auto hash = args[0];
|
||||
auto &protections = g_settings.options["settings"]["protections"];
|
||||
auto &protections = g_settings.options["settings"]["script_protections"];
|
||||
|
||||
char type[32] = "";
|
||||
|
||||
@ -119,6 +119,8 @@ namespace big
|
||||
|
||||
if (protections["kick"])
|
||||
{
|
||||
if (hash == 1317868303 || hash == 495824472) return false;
|
||||
|
||||
for (int64_t kick_hash : kick_hashes)
|
||||
{
|
||||
if (hash == kick_hash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user