Недавно FYP слил в паблик код инвиза, вдруг кому надо
Код
{$CLEO }
0662: "Made by FYP"
0662: "BlastHack.Net"
thread "Invisible"
const
KEY_TOGGLE_1 = 15@ // shift
KEY_TOGGLE_2 = 16@ // end 35
SampBaseAddr = 10@
InvisibleState = 12@
iIsSpectating = 13@
iInitiatedSpectating = 14@
Patch = 17@
PatchHud = 21@
end
if 8AF7: not get_samp_base_to SampBaseAddr // IF and SET
then 0a93:
end
while 8AFA: is_samp_structures_not_available
wait 400
end
11@ = SAMP.GetSAMPPlayerIDByActorHandle($PLAYER_ACTOR)
11@ = SAMP.GetPlayerStruct(11@)
0A8E: iIsSpectating = 11@ + 0x15E
0A8E: iInitiatedSpectating = 11@ + 0x312
0A8E: Patch = SampBaseAddr + 0x58C4
0A8E: PatchHud = SampBaseAddr + 0x65408
// load settings
0AF0: KEY_TOGGLE_1 = get_int_from_ini_file "cleo\fyp_mods_config.ini" section "Invisible" key "key_toggle_1"
0AF0: KEY_TOGGLE_2 = get_int_from_ini_file "cleo\fyp_mods_config.ini" section "Invisible" key "key_toggle_2"
while true
wait 15
if Player.Defined(0)
jf continue
if and
8B21: not samp is_chat_opened
key_down KEY_TOGGLE_1
key_down KEY_TOGGLE_2
then
0B12: InvisibleState = InvisibleState XOR 1
if InvisibleState == 1
then
print "~G~Invisible enabled~n~~w~Made by FYP~n~~r~BlastHack.Net" 1000
// Patch disable hud
0A8D: 22@ = read_memory PatchHud size 2 virtual_protect 1
0A8C: write_memory PatchHud size 2 value 0x9090 virtual_protect 1
0A8D: 18@ = read_memory Patch size 1 virtual_protect 1
0A8E: 20@ = Patch + 1
0A8D: 19@ = read_memory 20@ size 4 virtual_protect 1
0A8C: write_memory Patch size 1 value 0xE9 virtual_protect 1
0A8E: 20@ = Patch + 1
0A8C: write_memory 20@ size 4 value 0x00000178 virtual_protect 1
0A8C: write_memory iInitiatedSpectating size 4 value 1 virtual_protect 0
0A8C: write_memory iIsSpectating size 4 value 1 virtual_protect 0
else
print "~R~Invisible disabled" 1000
0A8C: write_memory iInitiatedSpectating size 4 value 0 virtual_protect 0
0A8C: write_memory iIsSpectating size 4 value 0 virtual_protect 0
0A8C: write_memory Patch size 1 value 18@ virtual_protect 1
0A8E: 20@ = Patch + 1
0A8C: write_memory 20@ size 4 value 19@ virtual_protect 1
0A8C: write_memory PatchHud size 2 value 22@ virtual_protect 1
end
while true
wait 20
if or
0B21: samp is_chat_opened
key_down KEY_TOGGLE_2
jf break
end
end
end