VehicleLicence - Failed to compile: Argument 2: cannot convert from 'bool' to 'UnityEngine.Quaternion' | Line: 7032, Pos: 80
Update needed
Same here
Same here
bump, me too
Error while compiling VehicleLicence: Argument 2: cannot convert from 'bool' to 'UnityEngine.Quaternion' | Line: 7032, Pos: 80
Yep looks same here too. <3
really really need an update
One of my most important plugins, also one of the only ones that broke lol.
So i have been able to resolve this on my server
Line 7032
Changed from
ridableHorse.DropToGround(ridableHorse.transform.position, true);
Change this to
Change this to
ridableHorse.DropToGround(ridableHorse.transform.position, Quaternion.identity);
This is till there is a offical fix and it is working right now for me.
This is till there is a offical fix and it is working right now for me.
Update is on it's way
MrBlue
Update is on it's way
Thank you very much
@MrBlue Thank you sir!
MrBlue
Update is on it's way
Thank :)
Thanks to @aimacak
Remove Comment // lines 511-514
before:
private object OnVehiclePush(BaseVehicle vehicle, BasePlayer player)
{
if (vehicle == null || player == null) return null;
if (!vehiclesCache.TryGetValue(vehicle, out Vehicle foundVehicle)) return null;
// ulong userID = player.userID.Get();
//
// if (foundVehicle.PlayerId == userID || AreFriends(foundVehicle.PlayerId, player.userID)) return null;
// if (HasAdminPermission(player)) return null;
// Respond here
SendCantPushMessage(player, foundVehicle);
return true;
}
after:
private object OnVehiclePush(BaseVehicle vehicle, BasePlayer player)
{
if (vehicle == null || player == null) return null;
if (!vehiclesCache.TryGetValue(vehicle, out Vehicle foundVehicle)) return null;
ulong userID = player.userID.Get();
if (foundVehicle.PlayerId == userID || AreFriends(foundVehicle.PlayerId, player.userID)) return null;
if (HasAdminPermission(player)) return null;
// Respond here
SendCantPushMessage(player, foundVehicle);
return true;
}
TheBear