[SNIPPET] Hide Samp Chat

You can hide the chat completly with this:

Code:
0AB1: @HideSAMPChat 1 TRUE
:HideSAMPChat
IF
0@ == TRUE
THEN
    0B2D: write_samp_memory offset 0x7A710 value 0xC3 size 1
ELSE
    0B2D: write_samp_memory offset 0x7A710 value 0x56 size 1
END
0AB2: 0

but you can still type into the chat^^

by 0x688(offsets)
HE DOESNT MAKE CLEO'S!
 
  • Like
Reactions: ini

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Re: Hide Samp Chat

F7 + write mem 0x65408 value 0x9090 size 2 = same thing
 

m1zg4rd_PL

Well-known member
Joined
Jul 19, 2013
Messages
222
Reaction score
0
Re: Hide Samp Chat

Version without SAMPFUNCS:

Code:
:HideSAMPChat
0AA2:1@ = load_library "samp.dll" // IF and SET
1@ += 0x7A710
if
0@ == true
then
    0A8C: write_memory 1@ size 1 value 0xC3 virtual_protect 1
else
    0A8C: write_memory 1@ size 1 value 0x56 virtual_protect 1
end
0AB2: 0
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
don't hide...

Code:
{$CLEO .cs}

0000: NOP 

:START
wait 0
if
key_down 49  // 1
then 0B12: 0@ = 0@ XOR 1
if 
0@ == 1 
then
0AB1: @HideSAMPChat 1 TRUE
end
end
jump @START


:HideSAMPChat
0AA2:1@ = load_library "samp.dll" // IF and SET
1@ += 0x7A710
if
0@ == true
then
    0A8C: write_memory 1@ size 1 value 0xC3 virtual_protect 1
else
    0A8C: write_memory 1@ size 1 value 0x56 virtual_protect 1
end
0AB2: 0
 

iVilux

Well-known member
Joined
Nov 12, 2013
Messages
207
Reaction score
5
Parazitas said:
don't hide...

Code:
{$CLEO .cs}

0000: NOP 

:START
wait 0
if
key_down 49  // 1
then 0B12: 0@ = 0@ XOR 1
if 
0@ == 1 
then
0AB1: @HideSAMPChat 1 TRUE
end
end
jump @START


:HideSAMPChat
0AA2:1@ = load_library "samp.dll" // IF and SET
1@ += 0x7A710
if
0@ == true
then
    0A8C: write_memory 1@ size 1 value 0xC3 virtual_protect 1
else
    0A8C: write_memory 1@ size 1 value 0x56 virtual_protect 1
end
0AB2: 0

Supistas daune du su puse metų praėjo
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
0.3.DL Hide samp chat

PHP:
:Hide_SAMP_CHAT
{
0AB1: @HideSAMPChat 1 TRUE
}
0AA2: 1@ = "samp.dll"
1@ += 0x2ACA10
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x0
if
0@ == true
then
    0A8C: writeMem 1@ sz 4 vl 0 vp 0 // chat lines disable
else
    0A8C: writeMem 1@ sz 4 vl 20 vp 0 // chat lines enable
end
0AB2: 0

0.3.DL Hide chat, hud, radar...
PHP:
:Hide_SAMP_CHAT
0AA2: 1@ = "samp.dll"
1@ += 0x2ACA10
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x8
if
0@ == true
then
    0A8C: writeMem 1@ sz 4 vl 0 vp 0 
else
    0A8C: writeMem 1@ sz 4 vl 2 vp 0 
end
0AB2: 0
 
Last edited:

ini

Well-known member
Joined
Sep 28, 2015
Messages
321
Reaction score
115
You can hide the chat completly with this:

Code:
0AB1: @HideSAMPChat 1 TRUE
:HideSAMPChat
IF
0@ == TRUE
THEN
    0B2D: write_samp_memory offset 0x7A710 value 0xC3 size 1
ELSE
    0B2D: write_samp_memory offset 0x7A710 value 0x56 size 1
END
0AB2: 0

but you can still type into the chat^^

by 0x688(offsets)
HE DOESNT MAKE CLEO'S!
not only cleo's, friends too :skype_envy: Hehe
 
Top