there exists a /sellgun cleo mod for shotgun
does anyone know how to make it for mp5 or any other guns, what do i have to change it to make it type /sellgun ID Mp5
This is the code for the existing cleo mod, I have also added it as an attachment
does anyone know how to make it for mp5 or any other guns, what do i have to change it to make it type /sellgun ID Mp5
This is the code for the existing cleo mod, I have also added it as an attachment
Code:
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
IF AND
key_down 2 {Right Mouse}
key_down 66 {B Key}
THEN
IF 0AD2: 0@ = player $PLAYER_CHAR targeted_actor
THEN
0B2B: samp 1@ = get_player_id_by_actor_handle 0@
say "/sellgun %d" 1@
wait 2000 /// Anti spam
END
END
END /// END WHILE TRUE