Olcay
Active member
- Joined
- Dec 1, 2014
- Messages
- 31
- Reaction score
- 0
Hi Guys. I did a .cs file succesfully. Sanny doesn't give error and I saved it. I try it game but game freeze 2-3 second and later try keybind is not working.
This is Opcode.eXe's codes.
https://www.youtube.com/watch?v=tccoKcBRTDU
Code:
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF
0AB0: key_pressed 78
THEN
REPEAT
WAIT 0
UNTIL 8AB0: 78
IF
0AD2: 5@ = player $PLAYER_CHAR targeted_actor
THEN
IF
0B2B: samp 4@ = get_player_id_by_actor_handle 5@
THEN
0AF9: "/ke %d" 4@
wait 300
0AF9: "/ya %d" 4@
END
END
END
END
https://www.youtube.com/watch?v=tccoKcBRTDU