{$CLEO}
Thread "DRAW"
0662: "Cleo by CallBack"
0662: "Контакты: vk.com/id127293998 , skype: darkdrul1"
wait 1000
03F0: enable_text_draw 1
chat "[DRAW]: Автор CallBack. Активация/деактивация [/draw]."
0B34: samp register_client_command "draw" to_label @draw
0390: load_txd_dictionary 'Draw'
038F: load_texture "Draw" as 1 // Load dictionary with 0390 first
0AF2: 27@ = get_float_from_ini_file "CLEO\INI\draw.ini" section "position" key "posX"
0AF2: 28@ = get_float_from_ini_file "CLEO\INI\draw.ini" section "position" key "posY"
0AF2: 25@ = get_float_from_ini_file "CLEO\INI\draw.ini" section "size" key "sizeX"
0AF2: 26@ = get_float_from_ini_file "CLEO\INI\draw.ini" section "size" key "sizeY"
While True
wait 0
if 0@ == 1
then
038D: draw_texture 1 position 27@ 28@ size 25@ 26@ RGBA 255 255 255 255
end
end
:draw
if 0@ == 0
then
0@ = 1
chat "[DRAW]: Activated"
else
0@ = 0
chat "[DRAW]: Disabled"
end
Samp.CmdRet()