I've been trying to use the 0AB0: key_pressed opcode for a Vice City cleo mod, but every time I want to compile the script, I get an error which tells me to install CLEO library, even though I've already installed it. Any thoughts?
Thanks for that! Now, on another note... is there a way to move a car to right, or left instantly? I mean, without turning it... like when I press a button, the car will ram into the car next to it, by moving a given amount.
:1 wait 0 if and 0443: player $PLAYER_CHAR in_a_car 00E1: key_pressed 0 17 jf @1 04C4: create_coordinate 1@ 2@ 3@ from_actor $PLAYER_ACTOR offset -5.0 0.0 0.0 00A1: put_actor $PLAYER_ACTOR at 1@ 2@ 3@ jump @1
-5.0 represent the X value (float) made from players left side. Make one more of these (by some other key) with 5.0 which is right from player. And if that's too fast put a number higher then 0 in the wait command.
This post has been edited by JACK JONES on Friday, Jun 22 2012, 18:20