if (cleartask)
{
*(int*)0x12CC958 = 0x4E800020;
char yeah[100];
snprintf(yeah, sizeof(yeah), "%s Tried To clear task", PLAYER::GET_PLAYER_NAME(selectedPlayer));
PRINT(yeah, 8000);
}
else
{
*(int*)0x12CC958 = 0x7C0802A6;
}
if (weapons)
{
*(int*)0x12C37EC = 0x4E800020;
*(int*)0x12C3ACC = 0x4E800020;
*(int*)0x12C3C74 = 0x4E800020;
char buf[512];
snprintf(buf, sizeof(buf), "%s Tried To remove weapons", GET_PLAYER_NAME);
PRINT(buf);
}
else
{
*(int*)0x12C37EC = 0x7C0802A6;
*(int*)0x12C3ACC = 0x7C0802A6;
*(int*)0x12C3C74 = 0x7C0802A6;
}
if (AntiAnimation)
{
*(int*)0x12CB55C = 0x4E800020;
}
else if (!GET_PLAYER_NAME(selectedPlayer))
{
char yeah[100];
snprintf(yeah, sizeof(yeah), "~~b~%s ~w~Tried To antimations teleport", GET_PLAYER_NAME(selectedPlayer));
PRINT(yeah, 8000);
}
else
{
*(int*)0x12CB55C = 0x7C0802A6;
}
if (removelevel)
{
*(int*)0x12C78DC = 0x4E800020;
}
else if (!GET_PLAYER_NAME(selectedPlayer))
{
char yeah[100];
snprintf(yeah, sizeof(yeah), "~~b~%s ~w~Tried To removelevel", GET_PLAYER_NAME(selectedPlayer));
PRINT(yeah, 8000);
}
else
{
*(int*)0x12C78DC = 0x7C0802A6;
}
if (particlefx)
{
*(int*)0x12D5098 = 0x4E800020;
}
else if (!GET_PLAYER_NAME(selectedPlayer))
{
char yeah[100];
snprintf(yeah, sizeof(yeah), "~~b~%s ~w~Tried to particlefx", GET_PLAYER_NAME(selectedPlayer));
PRINT(yeah, 8000);
}
else
{
*(int*)0x12D5098 = 0x7C0802A6;
}
if (protectiontime)
{
*(int*)0x12C2988 = 0x4E800020;//GAME_CLOCK_EVENT
*(int*)0x12C2E2C = 0x4E800020;//GAME_WEATHER_EVENT
}
else if (!GET_PLAYER_NAME(selectedPlayer))
{
char yeah[100];
snprintf(yeah, sizeof(yeah), "~~b~%s ~w~Tried To Changed Weather", GET_PLAYER_NAME(selectedPlayer));
PRINT(yeah, 8000);
}
else
{
*(int*)0x12C2988 = 0x7C0802A6;//GAME_CLOCK_EVENT
*(int*)0x12C2E2C = 0x7C0802A6;//GAME_WEATHER_EVENT
}