CLEO Help Textdraw exist

CLEO related
Status
Not open for further replies.

Kriso_Anderson

Active member
Joined
Apr 27, 2014
Messages
41
Reaction score
1
I making a textdraw on my screen, like copy paste but on another location on screen, if you know what i mean.I already made that for 0.3.7 but this server changed version to 0.3.dl and there is no sampfuncs, and no functions like, textdraw exist and get_string_to textdraw.

this is for 0.3.7
Code:
if and
0C5D: samp textdraw 2056 is_exists
0B61: samp is_local_player_spawned
then
alloc 10@ 1024
0C5A: samp textdraw 2056 get_string_to 10@
0AD4: $NOT_USED = scan_string 10@ format "~b~%d$" 29@
0342: set_text_draw_centered 1
033F: set_text_draw_letter_size 24@ 25@
081C: draw_text_outline 1 RGBA 0 0 0 255
060D: draw_text_shadow 1 rgba 0 0 0 255
0340: set_text_draw_RGBA 63 65 181 255
045A: draw_text_1number 86.0 433.0 GXT 'DOLLAR' number 29@

this is for 0.3.dl
Code:
0AA2: 0@ = "samp.dll"
0@ += 0x002ACA24
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 4
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 0x1B8
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 8224
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
if
0@ == 1
then
0AA2: 0@ = "samp.dll"
0@ += 0x002ACA24
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 4
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 0x1B8
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 8224
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0@ += 2400
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
0AC8: 10@ = allocate_memory_size 1024
0AD4: $NOT_USED = scan_string 0@ format "~b~%d$" 29@
0342: set_text_draw_centered 1
033F: set_text_draw_letter_size 24@ 25@
081C: draw_text_outline 1 RGBA 0 0 0 255
060D: draw_text_shadow 1 rgba 0 0 0 255
0340: set_text_draw_RGBA 63 65 181 255
045A: draw_text_1number 86.0 433.0 GXT 'DOLLAR' number 29@
 
Status
Not open for further replies.
Top