Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spawned police5 unit - No engine sound

Featured Replies

So I followed this tutorial: 

on how to add additional police cars and for the most part it worked, I was able to add a dodge charger to police5 slot, which I created and ELS worked. Unfortunately, the car has no sound, the sirens work but the engine is mute. Does this have something to do with the default  carvariations.meta I used which was provided? Thank You

 

Spoiler

<Item>
      <modelName>police5</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits>
        <Item>157_massacaro2_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>

 

 
 

 

Edit: So I feel really stupid asking a question I just answered. I went back into the vehicle.meta to search around and see if I messed up. Technically, I did everything correct however I did overlook one aspect. Creating a new unit called police5 was fine, but I was also calling the game to load <audioNameHash> </> for police5, of course none existed thus the car's engine was mute. I resolved this issue by replacing it with audioNameHash>police2</audioNameHash> so I was able to duplicate police2 engine sound and now everything works fine. So sorry about this pointless topic now.

Edited by MrAnarchy
I found the answer

Not a pointless topic, Im glad you replied back with the solution, now if somebody else has the same issue, then can refer to your topic.

SGT Kelford

LSSD Deputy Sergeant

It is better to allow ten guilty men to walk free, then to imprison one innocent. 

As a matter of fact I was inspired by this post to try adding on cars to my game, and I just ran into the same issue and applied your fix. Thanks Mate.

SGT Kelford

LSSD Deputy Sergeant

It is better to allow ten guilty men to walk free, then to imprison one innocent. 

Thank you very necessary theme but there is another question if I made submarine
and added it as an add-on how to do so would she swim underwater
tanula and not like a car where to register that it is not a machine and submarine 

  • 6 months later...
On 2017-01-24 at 3:47 PM, MrAnarchy said:

 

 

  Reveal hidden contents


<Item>
      <modelName>police5</modelName>
      <colors>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
        <Item>
          <indices content="char_array">
            134
            134
            156  
            156
          </indices>
          <liveries>
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="true" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
            <Item value="false" />
          </liveries>
        </Item>
      </colors>
      <kits>
        <Item>157_massacaro2_modkit</Item>
      </kits>
      <windowsWithExposedEdges />
      <plateProbabilities>
        <Probabilities />
      </plateProbabilities>
      <lightSettings value="1" />
      <sirenSettings value="1" />
    </Item>

 

 
 

 

Edit: So I feel really stupid asking a question I just answered. I went back into the vehicle.meta to search around and see if I messed up. Technically, I did everything correct however I did overlook one aspect. Creating a new unit called police5 was fine, but I was also calling the game to load <audioNameHash> </> for police5, of course none existed thus the car's engine was mute. I resolved this issue by replacing it with audioNameHash>police2</audioNameHash> so I was able to duplicate police2 engine sound and now everything works fine. So sorry about this pointless topic now.

Thanks a lot! I had the same issue. Now I learned not to forget the <audioNameHash> again :)
It's great when ppl post their solution and just dont let the thread die without an answer. 

  • Management Team

Although posting a thank you message to the user, please in future be cautious not to reply to topics which have not been posted in for around one month.

As this doesn't require anymore replies, I will lock this topic for now.

🕵️‍♂️ Always watching, always waiting.

  • The topic was locked
Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.