yesis possible to make a cmd that automatically screenshot the game ( F8 ) when a specific word appear on chat?
how?
How how...how?
sorry, i didn't see your message, only tuzas's message, for version 0.3.7 R1How how...
First you need read more carefully..!
I still waiting answer for my last question..
give message details, best would be screenshotsorry, i didn't see your message, only tuzas's message, for version 0.3.7 R1
can u make it cleo please?Enjoy. Dependancies: R1 SAMP, SAMPFUNCS, MOONLOADER LIBRARIES
why?can u make it cleo please?
some of my mods don't work well with moonloaderwhy?
not my problem, and theres no such thing '' mods dont go well with moonloader'''some of my mods don't work well with moonloader
{$CLEO .cs}
{$USE bitwise}
0000:
WHILE TRUE
WAIT 0
IF 0ADC: test_cheat "SCR"
THEN
0B12: 30@ = 30@ XOR 1
IF 0039: 30@ == TRUE
THEN 0AD1: show_formatted_text_highpriority "~w~Script ~g~ON" time 1337
ELSE 0AD1: show_formatted_text_highpriority "~w~Script ~r~OFF" time 137
END
END
IF 30@ == TRUE
THEN
0AC8: 0@ = allocate_memory_size 1024
0AC8: 2@ = allocate_memory_size 1024
0AB1: @getChatString 2 SampVersionID 1{0.3.7 R1} ChatID 99 _Returned: Text 0@ PrefixText 2@ Color 3@ PrefixColor 4@
0AC8: 1@ = allocate_memory_size 260
0AB1: @DeleteColorCodesFromText 2 text 0@ memory_to_store_characters_as_text 1@
0AC8: 5@ = allocate_memory_size 1024
0AD3: 5@ = format "test"
IF 0AB1: @IfTextContains 2 String1 1@ String2 5@ _Returned: Text 6@
THEN
0AB1: @TakeScreenShot 1 SampVersionID 1{0.3.7 R1}
0AD1: show_formatted_text_highpriority "~w~Screenshot ~g~Done!" time 5000
WAIT 30000
END
END
END
0A93: terminate_this_custom_script
it works for the first time but after it doesnt want to take anymore screenshotsType SCR to active.
PHP:{$CLEO .cs} {$USE bitwise} 0000: WHILE TRUE WAIT 0 IF 0ADC: test_cheat "SCR" THEN 0B12: 30@ = 30@ XOR 1 IF 0039: 30@ == TRUE THEN 0AD1: show_formatted_text_highpriority "~w~Script ~g~ON" time 1337 ELSE 0AD1: show_formatted_text_highpriority "~w~Script ~r~OFF" time 137 END END IF 30@ == TRUE THEN 0AC8: 0@ = allocate_memory_size 1024 0AC8: 2@ = allocate_memory_size 1024 0AB1: @getChatString 2 SampVersionID 1{0.3.7 R1} ChatID 99 _Returned: Text 0@ PrefixText 2@ Color 3@ PrefixColor 4@ 0AC8: 1@ = allocate_memory_size 260 0AB1: @DeleteColorCodesFromText 2 text 0@ memory_to_store_characters_as_text 1@ 0AC8: 5@ = allocate_memory_size 1024 0AD3: 5@ = format "test" IF 0AB1: @IfTextContains 2 String1 1@ String2 5@ _Returned: Text 6@ THEN 0AB1: @TakeScreenShot 1 SampVersionID 1{0.3.7 R1} 0AD1: show_formatted_text_highpriority "~w~Screenshot ~g~Done!" time 5000 WAIT 30000 END END END 0A93: terminate_this_custom_script
my bad it got a 30 seconds delay but the screenshot it takes is without the text..it works for the first time but after it doesnt want to take anymore screenshots
can u make it work even when the game is minimized?Type SCR to active.
PHP:{$CLEO .cs} {$USE bitwise} 0000: WHILE TRUE WAIT 0 IF 0ADC: test_cheat "SCR" THEN 0B12: 30@ = 30@ XOR 1 IF 0039: 30@ == TRUE THEN 0AD1: show_formatted_text_highpriority "~w~Script ~g~ON" time 1337 ELSE 0AD1: show_formatted_text_highpriority "~w~Script ~r~OFF" time 137 END END IF 30@ == TRUE THEN 0AC8: 0@ = allocate_memory_size 1024 0AC8: 2@ = allocate_memory_size 1024 0AB1: @getChatString 2 SampVersionID 1{0.3.7 R1} ChatID 99 _Returned: Text 0@ PrefixText 2@ Color 3@ PrefixColor 4@ 0AC8: 1@ = allocate_memory_size 260 0AB1: @DeleteColorCodesFromText 2 text 0@ memory_to_store_characters_as_text 1@ 0AC8: 5@ = allocate_memory_size 1024 0AD3: 5@ = format "test" IF 0AB1: @IfTextContains 2 String1 1@ String2 5@ _Returned: Text 6@ THEN 0AB1: @TakeScreenShot 1 SampVersionID 1{0.3.7 R1} 0AD1: show_formatted_text_highpriority "~w~Screenshot ~g~Done!" time 5000 WAIT 30000 END END END 0A93: terminate_this_custom_script
{$CLEO .cs}
{$USE bitwise}
0000:
WAIT 8500
0AB1: @memset 3 destination 7623723 value 144 size 8
WHILE TRUE
WAIT 0
IF 0ADC: test_cheat "SCR"
THEN
0B12: 30@ = 30@ XOR 1
IF 0039: 30@ == TRUE
THEN 0AD1: show_formatted_text_highpriority "~w~Script ~g~ON" time 1337
ELSE 0AD1: show_formatted_text_highpriority "~w~Script ~r~OFF" time 137
END
END
IF 30@ == TRUE
THEN
0A8C: write_memory 7634870 size 1 value 1 virtual_protect 1
0A8C: write_memory 7635034 size 1 value 1 virtual_protect 1
0AB1: @memset 3 destination 5499528 value 144 size 6 // disable esc when game is minimized
0AB1: @memset 3 destination 7623723 value 144 size 8 // disable mouse centering
0AC8: 0@ = allocate_memory_size 1024
0AC8: 2@ = allocate_memory_size 1024
0AB1: @getChatString 2 SampVersionID 1{0.3.7 R1} ChatID 99 _Returned: Text 0@ PrefixText 2@ Color 3@ PrefixColor 4@
0AC8: 1@ = allocate_memory_size 260
0AB1: @DeleteColorCodesFromText 2 text 0@ memory_to_store_characters_as_text 1@
0AC8: 5@ = allocate_memory_size 1024
0AD3: 5@ = format "test"
IF 0AB1: @IfTextContains 2 String1 1@ String2 5@ _Returned: Text 6@
THEN
0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~1.0.." time 200
WAIT 200
0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.8.." time 200
WAIT 200
0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.6.." time 200
WAIT 200
0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.4.." time 200
WAIT 200
0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.2.." time 200
WAIT 200
0AB1: @TakeScreenShot 1 SampVersionID 1{0.3.7 R1}
0AD1: show_formatted_text_highpriority "~w~Screenshot ~g~Done!" time 3000
WAIT 3000
END
ELSE
0A8C: write_memory 7634870 size 1 value 0 virtual_protect 1
0A8C: write_memory 7635034 size 1 value 0 virtual_protect 1
0AC6: 2@ = label @SOMETHING1 offset
0AB1: @memcpy 3 destination 5499528 source 2@ size 6
0AC6: 3@ = label @SOMETHING2 offset
0AB1: @memcpy 3 destination 7623723 source 3@ size 8
END
END
0A93: terminate_this_custom_script
still doesn't want to work, it says screenshot taken but in the folder there is no screenshot, and can u make it to auto activate when i enter the game without the need to type a command?PHP:{$CLEO .cs} {$USE bitwise} 0000: WAIT 8500 0AB1: @memset 3 destination 7623723 value 144 size 8 WHILE TRUE WAIT 0 IF 0ADC: test_cheat "SCR" THEN 0B12: 30@ = 30@ XOR 1 IF 0039: 30@ == TRUE THEN 0AD1: show_formatted_text_highpriority "~w~Script ~g~ON" time 1337 ELSE 0AD1: show_formatted_text_highpriority "~w~Script ~r~OFF" time 137 END END IF 30@ == TRUE THEN 0A8C: write_memory 7634870 size 1 value 1 virtual_protect 1 0A8C: write_memory 7635034 size 1 value 1 virtual_protect 1 0AB1: @memset 3 destination 5499528 value 144 size 6 // disable esc when game is minimized 0AB1: @memset 3 destination 7623723 value 144 size 8 // disable mouse centering 0AC8: 0@ = allocate_memory_size 1024 0AC8: 2@ = allocate_memory_size 1024 0AB1: @getChatString 2 SampVersionID 1{0.3.7 R1} ChatID 99 _Returned: Text 0@ PrefixText 2@ Color 3@ PrefixColor 4@ 0AC8: 1@ = allocate_memory_size 260 0AB1: @DeleteColorCodesFromText 2 text 0@ memory_to_store_characters_as_text 1@ 0AC8: 5@ = allocate_memory_size 1024 0AD3: 5@ = format "test" IF 0AB1: @IfTextContains 2 String1 1@ String2 5@ _Returned: Text 6@ THEN 0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~1.0.." time 200 WAIT 200 0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.8.." time 200 WAIT 200 0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.6.." time 200 WAIT 200 0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.4.." time 200 WAIT 200 0AD1: show_formatted_text_highpriority "~w~Screenshot ~y~0.2.." time 200 WAIT 200 0AB1: @TakeScreenShot 1 SampVersionID 1{0.3.7 R1} 0AD1: show_formatted_text_highpriority "~w~Screenshot ~g~Done!" time 3000 WAIT 3000 END ELSE 0A8C: write_memory 7634870 size 1 value 0 virtual_protect 1 0A8C: write_memory 7635034 size 1 value 0 virtual_protect 1 0AC6: 2@ = label @SOMETHING1 offset 0AB1: @memcpy 3 destination 5499528 source 2@ size 6 0AC6: 3@ = label @SOMETHING2 offset 0AB1: @memcpy 3 destination 7623723 source 3@ size 8 END END 0A93: terminate_this_custom_script