Jump to content

[CLEO] [SNIPPET] SendClickToTextdraw


Tupi
 Share

Recommended Posts

Snippet: 

 

0.3.7

:SendClickTextdraw
{
    0BCA: @SendClickTextdraw 1 TextDrawID 0@
}
if
    0AA2: 2@ = "samp.dll"
then
    0085: 3@ = 2@
    3@ += 0x21A0CC
    0A8D: 3@ = readMem 3@ sz 4 vp 1
    0A8E: 4@ = 3@ + 8
    0A8C: writeMem 4@ sz 4 value 0@ vp 0
    0A8E: 5@ = 2@ + 0x6CEA0 
    0AA6: call 5@ struct 3@ num_params 0 pop 0
end
0AB2: 0

 

0.3.7 R2

:SendClickTextdraw
{
    0BCA: @SendClickTextdraw 1 TextDrawID 0@
}
if
    0AA2: 2@ = "samp.dll"
then
    0085: 3@ = 2@
    3@ += 0x21A0D4
    0A8D: 3@ = readMem 3@ sz 4 vp 1
    0A8E: 4@ = 3@ + 8
    0A8C: writeMem 4@ sz 4 value 0@ vp 0
    0A8E: 5@ = 2@ + 0x6CF40 
    0AA6: call 5@ struct 3@ num_params 0 pop 0
end
0AB2: 0

 

0.3.7 R3

:SendClickTextdraw
{
	0BCA: @SendClickTextdraw 1 TextDrawID 0@
}
if
    0AA2: 2@ = "samp.dll"
then
    0085: 3@ = 2@
    3@ += 0x26E8B0
    0A8D: 3@ = readMem 3@ sz 4 vp 1
    0A8E: 4@ = 3@ + 8
    0A8C: writeMem 4@ sz 4 value 0@ vp 0
    0A8E: 5@ = 2@ + 0x70D90
    0AA6: call 5@ struct 3@ num_params 0 pop 0
end
0AB2: 0

 

 

Explicatia: Puteți trimite virtual un click către un anumit textdraw cu un anume ID fără SAMPFUNCS.

Link to comment
Share on other sites

  • Tupi locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.