Galloway123
Active member
- Joined
- Jul 14, 2014
- Messages
- 25
- Reaction score
- 0
Need help with this cleo called ChaosGuard. I want it to work like this:
When I aim at someone and I press 'b' on my keyboard I type '/vest (playername) 200'.
The cleo is almost working but when I try it in-game it says that the player isn't connected.
Help pl0x
Cleo: http://www.mediafire.com/file/kxea2cex9vt0eu3/ChaosGuard_1.cs
When I aim at someone and I press 'b' on my keyboard I type '/vest (playername) 200'.
The cleo is almost working but when I try it in-game it says that the player isn't connected.
Help pl0x
Code:
{$CLEO .cs}
0000: NOP
thread "ChaosGuard"
REPEAT
WAIT 100
UNTIL 0AFA: is_samp_available
WHILE TRUE
WAIT 0
IF
0AD2: 0@ = player $PLAYER_CHAR targeted_actor
THEN
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
IF
0AB0: key_pressed 66
THEN
0AF9: samp say_msg "/vest %i 200" 1@
wait 500
END
END
END