Having trouble with this script which I bodged together using other peoples work :fuck_yea: but I cannot turn the script off ingame :computer_guy:
Also the whole gta keeps shaking
Also the whole gta keeps shaking
Code:
{$CLEO .cs}
0000: NOP
wait 0
1@ = 0
while true
wait 0
if and
0AB0: key_pressed 57
1@ == 0
then
1@ = 1
0AD1: show_formatted_text_highpriority "~G~ACTIVATED" time 500
else
if and
0AB0: key_pressed 57
1@ == 1
then
1@ = 0
0AD1: show_formatted_text_highpriority "~R~DEACTIVATED" time 500
end
end
0AC8: 0@ 256
0AC8: 2@ 256
0AFA: is_samp_structures_available
if
1@ == 1
then
wait 5000
0AB1: call @keyPress 2 key 16 time 500
wait 1000
0AF9: samp say_msg "hello"
wait 1000
0AF9: samp say_msg "bye"
wait 1000
0AF9: samp say_msg "121"
wait 1000
Actor.Health($PLAYER_ACTOR) = 0
wait 4000
end
0AC9: 0@
0AC9: 2@
end
: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 0x02 0 0@
end
end
0AB2: ret 0