Sirene continua após sair da viatura
Enviado: 15 Jul 2019, 19:34
Com este mod, as sirenes das viaturas continuarão tocando mesmo após a saída do motorista.
DOWNLOAD
DOWNLOAD
SourceAbrir
Código: Selecionar tudo
{$Cleo}
0AC6: 0@ = label @Siren offset
0@ -= 0x004F9DA9
0A8C: write_memory 0x004F9DA4 size 1 value 0xE9 vp 1
0A8C: write_memory 0x004F9DA5 size 4 value 0@ vp 1
0A8C: write_memory 0x004F9DA9 size 5 value 0x90 vp 1
while true
wait 0x7FFFFFFF
end
:Siren
hex
{00000000} 83BE2803000000 // cmp dword [esi + 0x328], 0
{00000007} 740D // jz back
{00000009} B850F84E00 // mov eax, 0x004EF850
{0000000E} FFD0 // call eax
{00000010} 899E7C010000 // mov [esi + 0x17C], ebx
// back:
{00000016} B8AF9D4F00 // mov eax, 0x004F9DAF
{0000001B} FFE0 // jmp eax
end

