CLEO Help Remove C-Bug text

CLEO related
Status
Not open for further replies.

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
Anyone have an idea on how to remove this?
https://imgur.com/a/6sIyk

It's not a textdraw, because when I scan all the textdraws on screen I dont find it
 

DavidRO99

Active member
Joined
Nov 5, 2017
Messages
60
Reaction score
8
doroftel said:
@DavidRO99,

daca stii modul lui rasta pentru Hitmen, ce-l care nu-ti permitea sa omori tinta daca esti prea aproape de ea, era ilegal. Ghici de ce? Impiedica script-ul sa-ti dea FW. #KELTON RULES

Sursa modului sa ma conving eu ca nu vorbesti aiurea doar sa te dai mare, cum fac majoritatea ...
Acuma mane, st un pic ca iti trimit
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
[shcode=cpp]
{$CLEO .cs}
{$INCLUDE SF}
0000: NOP

repeat
   wait 100
until 0AFA:

31@ = 0

0BE3: raknet setup_incoming_rpc_hook @IncomingRPC
0B34: "nocbug" @enable_mod

while true
   wait 0
end

:enable_mod
0B12: 31@ = 31@ XOR 1
if 31@ <> 0
then printf "no cbug message ~g~on" 1000
else printf "no cbug message ~r~off" 1000
end
0B43:


:IncomingRPC
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if and
   0@ == RPC_SCRDISPLAYGAMETEXT // GameText
   31@ <> 0
then
   0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
   0BEB: raknet bit_stream 1@ ignore_bits 64
   0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_INT
   0A8E: 3@ = 2@ + 1
   alloc 4@ = 3@
   0C11: memset 4@ value 0 size 3@
   0BE8: raknet bit_stream 1@ read_array 4@ size 2@
   if 0C14: strcmp string1 4@ string2 "~y~C-Bug este ~r~interzis~y~!"
   then
       free 4@
       0BE0: raknet hook_ret false
   end
   free 4@
end
0BE0: raknet hook_ret true
[/shcode]

Requires SAMPFUNCS.
 
Status
Not open for further replies.
Top