Thanks, I was able to activate the fraps, but how do I set to click only once and not hold down the button, because it runs Backmarch instead of recording
Code:
then
wait 1000 // 1 sekunda
0AF9: samp say_msg "/me test %i id" 4@ // command
wait 2000 // 5 sekundi
0AB1: @FAKE_KEYPRESS 2 KeyOffSet 0x39 state 1
wait 30000 // 30sec
0AB1: @FAKE_KEYPRESS 2 KeyOffSet 0x39 state 1
wait 2000 // 2 sekunda
0AF9: samp say_msg "/me test off" // command
end
end
END
:FAKE_KEYPRESS
if 0AA2: 2@ = load_library "User32.dll"
then
if 0AA4: 2@ = get_proc_address "keybd_event" library 2@
then
0AA5: call 2@ num_params 4 pop 0 0 0 0 0@
wait 1@
0AA5: call 2@ num_params 4 pop 0 0 0x39 0 0@
end
end
0AB2: ret 0