So I want the text draws or images to be able to be activated and deactivated, It's currently able to activate but not deactivate.
The timer:
The timer:
Code:
{$CLEO .cs}
THREAD "Thread By KillerZ, Cyborg, (ANYONE WHO HELPS)"
:Load
wait 200
if
SAMP.Available
else_jump @Load
0B34: samp register_client_command "logos" to_label @logos
WHILE TRUE
wait 0
if 0@ == 1
then
03F0: enable_text_draw 1
:logos2
wait 0
0390: load_txd_dictionary 'LOGO'
038F: load_texture "a1" as 1 // Load dictionary with 0390 first
038F: load_texture "a2" as 2 // Load dictionary with 0390 first
038D: draw_texture 1 position 450.0 20.0 size 80.0 45.0 RGBA 128 128 128 255
038D: draw_texture 2 position 550.0 350.0 size 150.0 65.0 RGBA 128 128 128 255
goto @logos2
end
end
:logos
0B12: 0@ = 0@ XOR 1
if 0@ == 1
then
0ACD: show_text_highpriority "Normal Logos ~G~ON" time 3000
else
0ACD: show_text_highpriority "Normal Logos ~R~OFF" time 3000
end
SAMP.CmdRet()