Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

Cop Bikes Overhaul by Silent


B1ack_Wh1te
 Share

Recommended Posts

B1ack_Wh1te

Hi

What you need to change in the script,

that he worked for other police IDs?

Example:

 

5384, lvpdm1, lvpdm1, COP, STAT_COP, swat, 1FFF, 0, null, 9,9, PED_TYPE_EMG,VOICE_EMG_MCOP1 ,VOICE_EMG_MCOP6
5385, sfpdm1, sfpdm1, COP, STAT_COP, swat, 1FFF, 0, null, 9,9, PED_TYPE_EMG,VOICE_EMG_MCOP1 ,VOICE_EMG_MCOP6
Script:
Edited by Dyabda
Link to comment
Share on other sites

spaceeinstein

Can you explain what's the purpose of this topic?

Link to comment
Share on other sites

B1ack_Wh1te

Can you explain what's the purpose of this topic?

If you change the ID of moto police, the game will not work.
I'm trying to find out what needs to be changed for the game to work stably.
Link to comment
Share on other sites

spaceeinstein

Ah, now I understand. I did a quick skim through the source code and it seems like the mod was designed to support only very specific ped IDs and not just any IDs. At the very end of the code, there are four IDs that you could change to support your own IDs. I'm unsure if there are more code that needs changing.

Edited by spaceeinstein
Link to comment
Share on other sites

B1ack_Wh1te

Ah, now I understand. I did a quick skim through the source code and it seems like the mod was designed to support only very specific ped IDs and not just any IDs. At the very end of the code, there are four IDs that you could change to support your own IDs. I'm unsure if there are more code that needs changing.

Thank you, but I do not understand what to change these numbers, "1C010000" "10010000" "11010000"
If you know how to find the numbers of other IDs please write.
Edited by Dyabda
Link to comment
Share on other sites

You need to use an unused ped ID, otherwise you will replace an already used ped ID or the game will crash.

Edited by gts.
Link to comment
Share on other sites

B1ack_Wh1te

You need to use an unused ped ID, otherwise you will replace an already used ped ID or the game will crash.

I understand, but how can I replace it?

Link to comment
Share on other sites

spaceeinstein

This is how you read "1C010000". First split the string into four sections:

 

1C 01 00 00
Then read it backwards:

 

00 00 01 1C
If you type "11C" into a hex-to-decimal calculator, it comes out as "284". You can do the reverse. Use a decimal-to-hex calculator on "272" and it comes out as "110". Pad the string with 0s until the string is 8-characters long then split it into four sections:

 

00 00 01 10
Then read it backwards:

 

10 01 00 00
It comes out as "10010000". Edited by spaceeinstein
Link to comment
Share on other sites

B1ack_Wh1te

This is how you read "1C010000". First split the string into four sections:

1C 01 00 00
Then read it backwards:

 

00 00 01 1C
If you type "11C" into a hex-to-decimal calculator, it comes out as "284". You can do the reverse. Use a decimal-to-hex calculator on "272" and it comes out as "110". Pad the string with 0s until the string is 8-characters long then split it into four sections:

 

00 00 01 10
Then read it backwards:

 

10 01 00 00
It comes out as "10010000".

 

Okey, id 6011 in the hexadecimal calculator is 177B

 

00 00 17 7B

 

will be

 

7B 17 00 00?

Edited by Dyabda
Link to comment
Share on other sites

Not quite. The bytes are reversed but not the nibbles (half byte characters).

 

6011 = 0x177B = 0x0000177B = 7B 17 00 00

 

Something larger, a 32 bit CRC checksum:

 

‭13754837‬ = 0x00D1E1D5 = D5 E1 D1 00

 

Look into little-endian format for more details.

Edited by OrionSR
Link to comment
Share on other sites

B1ack_Wh1te
Everything is working.

Thank you spakeeinstein.

Edited by Dyabda
Link to comment
Share on other sites

  • 2 weeks later...
Richie Makyura

Where can see free ids for peds, i have the same problem with cdeput and my bikers works.

 

3230, cdeput, cdeput, COP, STAT_COP, swat, 1FFF, 1, null, 9, 9, PED_TYPE_EMG, VOICE_EMG_RCOP1, VOICE_EMG_RCOP4

 

The cop bikers:

 

3247, lapdm2, lapdm2, COP, STAT_COP, swat, 1FFF, 0, null, 9, 9, PED_TYPE_EMG, VOICE_EMG_MCOP1, VOICE_EMG_MCOP6
3248, sfpdm1, sfpdm1, COP, STAT_COP, swat, 1FFF, 0, null, 9, 9, PED_TYPE_EMG, VOICE_EMG_MCOP1, VOICE_EMG_MCOP6
3251, lvpdm1, lvpdm1, COP, STAT_COP, swat, 1FFF, 0, null, 9, 9, PED_TYPE_EMG, VOICE_EMG_MCOP1, VOICE_EMG_MCOP6
how can edit the exe? :panic:
Link to comment
Share on other sites

You have a 1 in your cdeput ped line. right after 1FFF there's a one. CHange that to zero

  • Like 1
Link to comment
Share on other sites

Richie Makyura

You have a 1 in your cdeput ped line. right after 1FFF there's a one. CHange that to zero

 

Thanks, now works the flint cop :happy:

Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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