Jump to content

GTA: San Andreas - Coding


Recommended Posts

Illusive Prime

Hi all! I'm new to the fourms! smile.gif

 

I just found out that the files in GTA San Andreas:

 

cargrp

and

pedgrp

 

are the ones to change cars and gangs.

 

First of: What is the code to have police as homies. The two i want to know is the LV and LS cops. Please reply to this post.

And a similer question but relating to the gang cars. What code is needed to be typed in to get Grove Street to drive Las Ventures police cars?

 

And what do i do to make every gang ride in colour coded cars to what gang they are?

 

For example:

 

Ballas: White and purple cars

Grove: Obviousley green cars

Vagos: Yellow and/or white cars.

 

So if somone could anserw all my questions that would be awesome!

 

 

 

Agent R

Link to comment
https://gtaforums.com/topic/459624-gta-san-andreas-coding/
Share on other sites

Hi, I don't think you can change code to have police as homies, however you can replace their dff/txd files in the IMG file, so cops are taking their place.

 

 

 

To get homies to drive LV cop cars you need to look for this line:

 

# Gang 2 (FAMILIES - PLAYER - BLACK)

 

in cargrp.dat and end enter copcarvg in place of whatever precedes the above code. (I think)

 

 

I dont think you can code gang car colors either, however you might go to carcols.dat and edit the color line of whatever the ballas drive so the only option for that car to appear in is purple. Unfortunately when a non-ballas npc drive the vehicle they will all appear purple. You could use a vehicle that is not used in the game like the alternative rancher (rnchlure) have the balls drive this, and then edit its color so it only appears in purple. That way all the regular cars are unchanged.

 

 

 

Hope some of this helps.

 

 

 

 

Edit:

Oh yeah, and you posted this in the wrong place too.

Edited by zyonig
Link to comment
https://gtaforums.com/topic/459624-gta-san-andreas-coding/#findComment-1060135821
Share on other sites

  • 2 weeks later...

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.