Staff Applications open to the public! ×
Jump to content
×
×
  • Create New...

Sterek

Member
  • Posts

    13
  • Joined

  • Last visited

GPM TrustFactor Score

78% 78%

Sterek's Achievements

Cadet

Cadet (1/9)

0

Reputation

  1. Another update. Loadouts don't work either. It keeps the base fivepd loadouts. Any reason why it would do this?
  2. Okay so i have gone through to make sure that the spawn names are all correct. Even if i remove the stock cars they still show up on the menu. Is the mysql have a part to do with it not changing the server side data for me to see and choose the cars to spawn?
  3. { "police": [ { "name": "Charger 2018", "vehicle": "18dcrb" }, { "name": "Tahoe 2019", "vehicle": "19ctrb" }, { "name": "2020 Silverado", "vehicle": "silv" }, { "name": "2011 CVPI", "vehicle": "11CrownVic" }, { "name": "Fire Tahoe", "vehicle": "ftahoe" }, { "name": "Chevy SS", "vehicle": "chevyss" }, { "name": "Explorer", "vehicle": "explorer" } ], "ambulance": "ambulance", "airAmbulance": "polmav", "firedept": "firetruk", "coroner": "speedo", "towtruck": "flatbed", "mechanic": "utillitruck3", "prisontransport": "police", "animalControl": "bison" }
  4. My cars I add dont show in the duty menu. If i delete a car it still shows up in the duty menu. { "police": [ { "name": "Charger 2018", "vehicle": "18dcrb" }, { "name": "Tahoe 2019", "vehicle": "19ctrb" }, { "name": "Police transporter", "vehicle": "policet" }, { "name": "FBI", "vehicle": "fbi" }, { "name": "FBI 2", "vehicle": "fbi2" }, { "name": "Sheriff 1", "vehicle": "sheriff" }, { "name": "Sheriff 2", "vehicle": "sheriff2" } ], "ambulance": "ambulance", "airAmbulance": "polmav", "firedept": "firetruk", "coroner": "speedo", "towtruck": "flatbed", "mechanic": "utillitruck3", "prisontransport": "police", "animalControl": "bison" }
  5. SOLVED ROOT PERMS WERE NOT WORKING BUT ARE NOW
  6. [ FivePD ] Loaded charges.json [ FivePD ] Loaded callout configuration file [ FivePD ] An error has occured: Could not connect to the database [ FivePD ] An error has occured: Could not load the departments from the database. Message: System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Diagnostics.TraceInternal.get_AppName () [0x0000e] in <d73e79af0dae4ef9ac6dff954f077e0a>:0 at System.Diagnostics.TraceInternal.TraceEvent (System.Diagnostics.TraceEventType eventType, System.Int32 id, System.String format, System.Object[] args) [0x0003d] in <d73e79af0dae4ef9ac6dff954f077e0a>:0 at System.Diagnostics.Trace.TraceError (System.String message) [0x00000] in <d73e79af0dae4ef9ac6dff954f077e0a>:0 at MySql.Data.MySqlClient.MySqlTrace.LogError (System.Int32 id, System.String msg) [0x00026] in <c17c8d07cfd740ad931906166ef04bff>:0 at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x0002e] in <c17c8d07cfd740ad931906166ef04bff>:0 at MySql.Data.MySqlClient.MySqlPool.GetConnection () [0x0001c] in <c17c8d07cfd740ad931906166ef04bff>:0 at MySql.Data.MySqlClient.MySqlConnection.Open () [0x002be] in <c17c8d07cfd740ad931906166ef04bff>:0 at Ul29xmGv62Xl120Qs㲽立䞈㬊䃊⤚�㎸䦍㸲䈲㩑㷮�䎳㑲喇㧨䔌㳎呂猪䶮䮬䑇䡸�䖨�䗳+Ul29xmGv62Xl120Qs䒩㭯䜯䆞䰕䮳㧐䧙㰰㰄䫘㖘㟮⏀䴆�㤼䙮㳦䧺㡞㊂�J䙎䶣䐉䡿�㋼㐭..ctor (MySql.Data.MySqlClient.MySqlConnection ⎸) [0x00022] in <80c8bb28078d4213802fb1796440c2c4>:0 at Ul29xmGv62Xl120Qs㲽立䞈㬊䃊⤚�㎸䦍㸲䈲㩑㷮�䎳㑲喇㧨䔌㳎呂猪䶮䮬䑇䡸�䖨�䗳.Ul29xmGv62Xl120Qs㍳䨬え䭘㹂䐫㳰䔨䅮䃸頻䢶䪼䛇㺳䱋︁䥩䭧ん㒁䍕⍩蓮¿⎷㥟䂱 () [0x00007] in <80c8bb28078d4213802fb1796440c2c4>:0 [ FivePD ] Unloading FivePD...
  7. ef9ac6dff954f077e0a>:0 at System.Diagnostics.TraceInternal.TraceEvent (System.Diagnostics.TraceEventType eventType, System.Int32 id, System.String format, System.Object[] args) [0x0003d] in <d73e79af0dae4ef9ac6dff954f077e0a>:0 at System.Diagnostics.Trace.TraceError (System.String message) [0x00000] in <d73e79af0dae4ef9ac6dff954f077e0a>:0 at MySql.Data.MySqlClient.MySqlTrace.LogError (System.Int32 id, System.String msg) [0x00026] in <c17c8d07cfd740ad931906166ef04bff>:0 at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x0002e] in <c17c8d07cfd740ad931906166ef04bff>:0 at MySql.Data.MySqlClient.MySqlPool.GetConnection () [0x0001c] in <c17c8d07cfd740ad931906166ef04bff>:0 at MySql.Data.MySqlClient.MySqlConnection.Open () [0x002be] in <c17c8d07cfd740ad931906166ef04bff>:0
  8. Still doesn't work with non els cars. Seems to be broken for my server.
  9. This is how i have my code setup but the cars don't show up on duty menu.
  10. [ { "name": "cvpi", "vehicle": "cvpi" }, { "name": "Police 3", "vehicle": "police3" }, { "name": "Police transporter", "vehicle": "policet" }, { "name": "FBI", "vehicle": "fbi" }, { "name": "FBI 2", "vehicle": "fbi2" }, { "name": "Sheriff 1", "vehicle": "sheriff" }, { "name": "Sheriff 2", "vehicle": "sheriff2" } ],
  11. so the way a did my code would be correct? I dont seem to see it in my duty menu. I dont want to use vanilla cars in the menu.
  12. How would i replace the regular police cars with addon els cars? Is it possible to put addon cars in this menu to spawn from? i.e. { "police": [ { "name": "cvpi", "vehicle": "cvpi" } ],

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.