ollydbg
Active member
- Joined
- Jun 3, 2017
- Messages
- 39
- Reaction score
- 23
How to change how to disable and enable this cleo mod fake afk '
I want this cleo to be activated / deactivated by pressing F2
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
thread "1337"
wait 1337
chatmsg "{4183D7}[FakeAFK] {ffffff}Èñïîëüçîâàòü: {4183D7}/afk{ffffff}. Àâòîð: {4183D7}Logan for Flores." 16777215
0B34: samp register_client_command "afk" to_label @1337_142
:1337_131
wait 0
jump @1337_131
:1337_142
if
0@ == 0
else_jump @1337_269
0@ = 1
chatmsg "{4183D7}[FakeAFK] {ffffff}AFK{ffffff} ON." 16777215
SAMP.WriteSAMPMemory(16864, 195, 1)
SAMP.WriteSAMPMemory(24896, 195, 1)
SAMP.WriteSAMPMemory(18480, 195, 1)
SAMP.WriteSAMPMemory(82384, 50064, 2)
jump @1337_372
:1337_269
0@ = 0
chatmsg "{4183D7}[FakeAFK] {ffffff}AFK{ffffff} íå OFF." 16777215
SAMP.WriteSAMPMemory(16864, 0@, 1)
SAMP.WriteSAMPMemory(24896, 1@, 1)
SAMP.WriteSAMPMemory(18480, 2@, 1)
SAMP.WriteSAMPMemory(82384, 3@, 2)
:1337_372
SAMP.CmdRet
I want this cleo to be activated / deactivated by pressing F2
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
thread "1337"
wait 1337
chatmsg "{4183D7}[FakeAFK] {ffffff}Èñïîëüçîâàòü: {4183D7}/afk{ffffff}. Àâòîð: {4183D7}Logan for Flores." 16777215
0B34: samp register_client_command "afk" to_label @1337_142
:1337_131
wait 0
jump @1337_131
:1337_142
if
0@ == 0
else_jump @1337_269
0@ = 1
chatmsg "{4183D7}[FakeAFK] {ffffff}AFK{ffffff} ON." 16777215
SAMP.WriteSAMPMemory(16864, 195, 1)
SAMP.WriteSAMPMemory(24896, 195, 1)
SAMP.WriteSAMPMemory(18480, 195, 1)
SAMP.WriteSAMPMemory(82384, 50064, 2)
jump @1337_372
:1337_269
0@ = 0
chatmsg "{4183D7}[FakeAFK] {ffffff}AFK{ffffff} íå OFF." 16777215
SAMP.WriteSAMPMemory(16864, 0@, 1)
SAMP.WriteSAMPMemory(24896, 1@, 1)
SAMP.WriteSAMPMemory(18480, 2@, 1)
SAMP.WriteSAMPMemory(82384, 3@, 2)
:1337_372
SAMP.CmdRet