Content Unlocked
addIntOption("Explosion Type", &expProtection, 0, 36, true);
addBoolOptionv3("Explode Aiming At Me", explodeProtection);
addBoolOptionv3("Remove Weapons", removeWeapProtection);
addBoolOptionv3("Vehicle Protection", enableProt);
addBoolOptionv3("Explosion Protection", enableExpProt);
addBoolOptionv3("Freeze Tasks Protection", enableTasksProt);
addBoolOptionv3("PTFX Protection", enablePTFXProt);
addBoolOptionv3("Kick Protection", enableKickProt);
addBoolOptionv3("Animation Protection", enableAnimProt);
addBoolOptionv3("Taxi Freeze Protection", TaxiPro);
addBoolOptionv3("Crash Protection", enablecrashProt);
addBoolOptionv3("Stats Protection", NETWORK_INCREMENT_STAT_EVENT_BOOL);
switch (getOption())
{
case 2:
{
explodeProtection = !explodeProtection;
NotifyAboveMap(explodeProtection ? "Protection: ~p~Explosion - ~g~ON" : "Protection: ~p~Explosion - ~r~OFF");
}
break;
case 3:
{
removeWeapProtection = !removeWeapProtection;
NotifyAboveMap(removeWeapProtection ? "Protection: ~p~Remove Weapons - ~g~ON" : "Protection: ~p~Remove Weapons- ~r~OFF");
}
break;
case 4:
{
if (!enableProt) {
*(int*)VEHICLE_PROTECTION = 0x4E800020;
enableProt = true;
}
else if (enableProt) {
*(int*)VEHICLE_PROTECTION = 0x7D8802A6;
enableProt = false;
}
NotifyAboveMap(enableProt ? "Vehicle Protection: ~g~ON" : "Vehicle Protection: ~r~OFF");
}
break;
case 5:
{
if (!enableExpProt) {
*(int*)EXPLOSION_PROTECTION = 0x4E800020;
*(int*)FIRE_PROTECTION = 0x4E800020;
enableExpProt = true;
}
else if (enableExpProt) {
*(int*)EXPLOSION_PROTECTION = 0x7D8802A6;
*(int*)FIRE_PROTECTION = 0x7D8802A6;
enableExpProt = false;
}
NotifyAboveMap(enableExpProt ? "Explosion Protection: ~g~ON" : "Explosion Protection: ~r~OFF");
}
break;
case 6:
{
if (!enableTasksProt) {
*(int*)TASKS_PROTECTION = 0x4E800020;
enableTasksProt = true;
}
else if (enableTasksProt) {
*(int*)TASKS_PROTECTION = 0x7D8802A6;
enableTasksProt = false;
}
NotifyAboveMap(enableTasksProt ? "Freeze Protection: ~g~ON" : "Freeze Protection: ~r~OFF");
}
break;
case 7:
{
if (!enablePTFXProt) {
*(int*)PTFX_PROTECTION = 0x4E800020;
enablePTFXProt = true;
}
else if (enablePTFXProt) {
*(int*)PTFX_PROTECTION = 0x7D8802A6;
enablePTFXProt = false;
}
NotifyAboveMap(enablePTFXProt ? "PTFX Protection: ~g~ON" : "PTFX Protection: ~r~OFF");
}
break;
case 8:
{
if (!enableKickProt) {
*(int*)0x8399A01C = 0x4E800020;
*(int*)0x830DD6A0 = 0x4E800020;
*(int*)0x82285328 = 0x4E000020;
enableKickProt = true;
}
else if (enableKickProt) {
*(int*)0x8399A01C = 0x7D8802A6;
*(int*)0x830DD6A0 = 0x7D8802A6;
*(int*)0x82285328 = 0x4E000020;
enableKickProt = false;
}
NotifyAboveMap(enableKickProt ? "Cannot Kick Me: ~g~ON" : "Cannot Kick Me: ~r~OFF");
}
break;
case 9:
{
if (!enableAnimProt) {
*(int*)NETWORK_START_SYNCED_SCENE_EVENT = 0x4E800020;
*(int*)NETWORK_REQUEST_SYNCED_SCENE_EVENT = 0x4E800020;
*(int*)NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x4E800020;
*(int*)NETWORK_STOP_SYNCED_SCENE_EVENT = 0x4E800020;
enableAnimProt = true;
}
else if (enableAnimProt) {
*(int*)NETWORK_START_SYNCED_SCENE_EVENT = 0x7D8802A6;
*(int*)NETWORK_REQUEST_SYNCED_SCENE_EVENT = 0x7D8802A6;
*(int*)NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x7D8802A6;
*(int*)NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x7D8802A6;
enableAnimProt = false;
}
NotifyAboveMap(enableAnimProt ? "Anim Protection: ~g~ON" : "Anim Protectio: ~r~OFF");
}
break;
case 10: TaxiPro = !TaxiPro; NotifyAboveMap(TaxiPro ? "Taxi Protection: ~g~ON" : "Taxi Protection: ~r~OFF"); break;
case 11:
{
if (!enablecrashProt) {
*(int*)0x82E1F1F0 = 0x4E800020;
*(int*)0x83088F78 = NOP;
*(int*)0x83088D50 = NOP;
enablecrashProt = true;
}
}
break;
case 12:
NETWORK_INCREMENT_STAT_EVENT_BOOL = !NETWORK_INCREMENT_STAT_EVENT_BOOL;
PatchGameEvent(NETWORK_INCREMENT_STAT_EVENT, NETWORK_INCREMENT_STAT_EVENT_BOOL);
break;
}
break;
addIntOption("Explosion Type", &expProtection, 0, 36, true);
addBoolOptionv3("Explode Aiming At Me", explodeProtection);
addBoolOptionv3("Remove Weapons", removeWeapProtection);
addBoolOptionv3("Vehicle Protection", enableProt);
addBoolOptionv3("Explosion Protection", enableExpProt);
addBoolOptionv3("Freeze Tasks Protection", enableTasksProt);
addBoolOptionv3("PTFX Protection", enablePTFXProt);
addBoolOptionv3("Kick Protection", enableKickProt);
addBoolOptionv3("Animation Protection", enableAnimProt);
addBoolOptionv3("Taxi Freeze Protection", TaxiPro);
addBoolOptionv3("Crash Protection", enablecrashProt);
addBoolOptionv3("Stats Protection", NETWORK_INCREMENT_STAT_EVENT_BOOL);
switch (getOption())
{
case 2:
{
explodeProtection = !explodeProtection;
NotifyAboveMap(explodeProtection ? "Protection: ~p~Explosion - ~g~ON" : "Protection: ~p~Explosion - ~r~OFF");
}
break;
case 3:
{
removeWeapProtection = !removeWeapProtection;
NotifyAboveMap(removeWeapProtection ? "Protection: ~p~Remove Weapons - ~g~ON" : "Protection: ~p~Remove Weapons- ~r~OFF");
}
break;
case 4:
{
if (!enableProt) {
*(int*)VEHICLE_PROTECTION = 0x4E800020;
enableProt = true;
}
else if (enableProt) {
*(int*)VEHICLE_PROTECTION = 0x7D8802A6;
enableProt = false;
}
NotifyAboveMap(enableProt ? "Vehicle Protection: ~g~ON" : "Vehicle Protection: ~r~OFF");
}
break;
case 5:
{
if (!enableExpProt) {
*(int*)EXPLOSION_PROTECTION = 0x4E800020;
*(int*)FIRE_PROTECTION = 0x4E800020;
enableExpProt = true;
}
else if (enableExpProt) {
*(int*)EXPLOSION_PROTECTION = 0x7D8802A6;
*(int*)FIRE_PROTECTION = 0x7D8802A6;
enableExpProt = false;
}
NotifyAboveMap(enableExpProt ? "Explosion Protection: ~g~ON" : "Explosion Protection: ~r~OFF");
}
break;
case 6:
{
if (!enableTasksProt) {
*(int*)TASKS_PROTECTION = 0x4E800020;
enableTasksProt = true;
}
else if (enableTasksProt) {
*(int*)TASKS_PROTECTION = 0x7D8802A6;
enableTasksProt = false;
}
NotifyAboveMap(enableTasksProt ? "Freeze Protection: ~g~ON" : "Freeze Protection: ~r~OFF");
}
break;
case 7:
{
if (!enablePTFXProt) {
*(int*)PTFX_PROTECTION = 0x4E800020;
enablePTFXProt = true;
}
else if (enablePTFXProt) {
*(int*)PTFX_PROTECTION = 0x7D8802A6;
enablePTFXProt = false;
}
NotifyAboveMap(enablePTFXProt ? "PTFX Protection: ~g~ON" : "PTFX Protection: ~r~OFF");
}
break;
case 8:
{
if (!enableKickProt) {
*(int*)0x8399A01C = 0x4E800020;
*(int*)0x830DD6A0 = 0x4E800020;
*(int*)0x82285328 = 0x4E000020;
enableKickProt = true;
}
else if (enableKickProt) {
*(int*)0x8399A01C = 0x7D8802A6;
*(int*)0x830DD6A0 = 0x7D8802A6;
*(int*)0x82285328 = 0x4E000020;
enableKickProt = false;
}
NotifyAboveMap(enableKickProt ? "Cannot Kick Me: ~g~ON" : "Cannot Kick Me: ~r~OFF");
}
break;
case 9:
{
if (!enableAnimProt) {
*(int*)NETWORK_START_SYNCED_SCENE_EVENT = 0x4E800020;
*(int*)NETWORK_REQUEST_SYNCED_SCENE_EVENT = 0x4E800020;
*(int*)NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x4E800020;
*(int*)NETWORK_STOP_SYNCED_SCENE_EVENT = 0x4E800020;
enableAnimProt = true;
}
else if (enableAnimProt) {
*(int*)NETWORK_START_SYNCED_SCENE_EVENT = 0x7D8802A6;
*(int*)NETWORK_REQUEST_SYNCED_SCENE_EVENT = 0x7D8802A6;
*(int*)NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x7D8802A6;
*(int*)NETWORK_UPDATE_SYNCED_SCENE_EVENT = 0x7D8802A6;
enableAnimProt = false;
}
NotifyAboveMap(enableAnimProt ? "Anim Protection: ~g~ON" : "Anim Protectio: ~r~OFF");
}
break;
case 10: TaxiPro = !TaxiPro; NotifyAboveMap(TaxiPro ? "Taxi Protection: ~g~ON" : "Taxi Protection: ~r~OFF"); break;
case 11:
{
if (!enablecrashProt) {
*(int*)0x82E1F1F0 = 0x4E800020;
*(int*)0x83088F78 = NOP;
*(int*)0x83088D50 = NOP;
enablecrashProt = true;
}
}
break;
case 12:
NETWORK_INCREMENT_STAT_EVENT_BOOL = !NETWORK_INCREMENT_STAT_EVENT_BOOL;
PatchGameEvent(NETWORK_INCREMENT_STAT_EVENT, NETWORK_INCREMENT_STAT_EVENT_BOOL);
break;
}
break;