Facepunch messing with things again, now all buttons are floating in the air
Button position messed up after update
I have just remove the buttons in the cs file and that works if you delete your data files of car radio
RustysmokersI have just remove the buttons in the cs file and that works if you delete your data files of car radio
how Please?
But i want buttons : [
here is the file without buttons and carboose support
dont forget delete the data files of carradio in oxide/data
https://www.dropbox.com/scl/fi/4yxwhdutdof1g21mfllbq/CarRadio.cs?rlkey=xatdvxk860mytaz6qpsgwbci0&dl=1
greedz
Hey, I did this and everything worked great until the last forced update
now it doesnt work on modular vehicles, They have no radio but everything else does, I get this error when I spawn a car.
Failed to call hook 'OnEntitySpawned' on plugin 'CarRadio v1.0.69' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CarRadio.Message (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String anI18nKey, System.Object[] someArgs) [0x00000] in :0
at Oxide.Plugins.CarRadio.AttachRadios (BaseVehicle aVehicle, Oxide.Plugins.CarRadio+Radio aRadio, Oxide.Plugins.CarRadio+RadioController+States anInitialState, Oxide.Core.Libraries.Covalence.IPlayer aPlayer) [0x000b1] in :0
at Oxide.Plugins.CarRadio.OnEntitySpawned (BaseVehicle aVehicle) [0x0005a] in :0
at Oxide.Plugins.CarRadio.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00497] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0
here is a file to fix floating buttons also adds support for motorcycles
https://www.dropbox.com/scl/fi/ioo4ozwxbs4ndblfdr3tw/CarRadio.cs?rlkey=6e7ltudk3p59h6rqbndk0177h&dl=1