Has anyone managed to get this code working in Vice City?
0541: fire_guns_on_vehicle $2689
In Main.scm it's only used for the Hunter helicopter but from what I've been reading online, it can be used on any car (with weird results). But when I tried to use it with the code below I got an unhandled exception error. I tried it on a random car, then a car for Maxo's Vehicle Loader that comes with machine guns attached to it and then on a Hydra, also for MVL, all with the same result.
thread 'CARGUN' :CARGUN_10 wait 0 if and Player.Defined($PLAYER_CHAR) 0443: player $PLAYER_CHAR in_a_car else_jump @CARGUN_10 wait 0 if 00E1: key_pressed 0 17 else_jump @CARGUN_10 wait 0 00DA: 1@ = player $PLAYER_CHAR car 0541: fire_guns_on_vehicle 1@ wait 0 jump @CARGUN_10
Edited by Rainbow Party, 23 October 2013 - 03:05 AM.