Jump to content

VC coding problems


Recommended Posts

Well it looks like it works with the first car. But still the same thing with the second one. The mafiosos return to the car and wait till i get close. If i destriy the car while thry are inside the game crashes. I dont know what to do sad.gif

Link to comment
https://gtaforums.com/topic/269993-vc-coding-problems/page/2/#findComment-4346068
Share on other sites

sorry i edited that, was thinking there is something but it turns out i was wrong. if car s2 upon damage is crashing the game- is that all the code that refers to this car and actors inside? because i do not see any hazard in this code. maybe some delete stuff like marker?

Edited by PLPynton
Link to comment
https://gtaforums.com/topic/269993-vc-coding-problems/page/2/#findComment-4346083
Share on other sites

well with car it all the code. well there is another gosub witch leads to a code for disabling dead actors markers. I used a check

 

00D6: if 0

0038: $8D8 == 1 \\ integer values

004D: jump_if_false £return

00D6: if 0

0118: actor $m5 dead

004D: jump_if_false £other_actors _from_car

0164: disable_marker $8DE

 

:other_actors _from_car

the same...no mistakes...

 

:return

0051: return

 

maybe there is a mistake. BTW I used the same gosub for every actor, not only in that car. With additional checks, of course. Like this with $8D8...

Link to comment
https://gtaforums.com/topic/269993-vc-coding-problems/page/2/#findComment-4348535
Share on other sites

Umm hi. Im a pot of problems smile.gif so I faced a bit funny problem though I dont know how to fix it. Ive create a few missions where the player is chased by a helicopter, and a shooter shoots from it (turret mode) at the player. In my newest mission i wanted to do the same but... no one shoots at me. I was wondering why couse I did everything exactly the same as in previous missions. When I looked up at the hely I noticed that the shooter is dead. Dead man on the turret mode. I tried to change actors creating coords, offset values but everytime he is dead. Could someone help me?

Link to comment
https://gtaforums.com/topic/269993-vc-coding-problems/page/2/#findComment-4374248
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.