{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until Samp.Available
0B34: "test" @TEST
0B00: delete_file "cleo/cleo_saves/test.png"
alloc 5@ 260
While True
Wait 0
End
:TEST
SAMP.GetScreenResolution(1@, 2@)
1@ -= 420
2@ -= 250
3@ = 160
4@ = 200
005A: 3@ += 2@
005A: 4@ += 2@
format 5@ "http:%c%cpart.lt/img/da3044b69613a11932f0fe96eba1c0b0617.jpg" 47 47
0C65: 21@ = download_url 5@ to_file "cleo/cleo_saves/test.png"
6@ = -1
0C66: 6@ = get_download 7@ state
0C7D: release_download 7@
0B71: render 8@ = load_texture_from_file "cleo/cleo_saves/test.png"
0B73: render draw_texture 8@ pos 1@ 2@ size 410 160 rotation 0 color -1
wait 5000
0B00: delete_file "cleo/cleo_saves/test.png"
CmdRet
kazkaS said:Just edit, because my script photo removing very fast, and idk why xdCode:{$CLEO .cs} 0000: NOP REPEAT Wait 0 Until Samp.Available 0B34: "test" @TEST 0B00: delete_file "cleo/cleo_saves/test.png" alloc 5@ 260 While True Wait 0 End :TEST SAMP.GetScreenResolution(1@, 2@) 1@ -= 420 2@ -= 250 3@ = 160 4@ = 200 005A: 3@ += 2@ 005A: 4@ += 2@ format 5@ "http:%c%cpart.lt/img/da3044b69613a11932f0fe96eba1c0b0617.jpg" 47 47 0C65: 21@ = download_url 5@ to_file "cleo/cleo_saves/test.png" 6@ = -1 0C66: 6@ = get_download 7@ state 0C7D: release_download 7@ 0B71: render 8@ = load_texture_from_file "cleo/cleo_saves/test.png" 0B73: render draw_texture 8@ pos 1@ 2@ size 410 160 rotation 0 color -1 wait 5000 0B00: delete_file "cleo/cleo_saves/test.png" CmdRet
0B71: render 8@ = load_texture_from_file "cleo/cleo_saves/test.png"
0B73: render draw_texture 8@ pos 1@ 2@ size 410 160 rotation 0 color -1
wait 5000
0B00: delete_file "cleo/cleo_saves/test.png"
kazkaS said:i created, but what i not created just this lines
Code:0B71: render 8@ = load_texture_from_file "cleo/cleo_saves/test.png" 0B73: render draw_texture 8@ pos 1@ 2@ size 410 160 rotation 0 color -1 wait 5000 0B00: delete_file "cleo/cleo_saves/test.png"
btw, wait timer not working for me
supahdupahnubah said:0B71: render 8@ = load_texture_from_file "cleo/cleo_saves/test.png"
you only need to load it into the memory once (unless you changed it during the runtime)
Parazitas said:shanker said:now y r gonna masturbate even on samp?
What's wrong with you???????????