Try fix issues

This commit is contained in:
hydrant
2018-12-16 19:41:21 +01:00
parent b385883379
commit 940e581f2b
5 changed files with 49 additions and 50 deletions

View File

@@ -56,12 +56,15 @@ namespace reallife_gamemode.Server.Entities
{
numberplate = "Shop";
VehicleStreaming.SetLockStatus(veh, false);
Array.ForEach((WindowID[])Enum.GetValues(typeof(WindowID)), x => VehicleStreaming.SetVehicleWindowState(veh, x, WindowState.WindowDown));
TextLabel label = NAPI.TextLabel.CreateTextLabel(NAPI.Vehicle.GetVehicleDisplayName((VehicleHash)veh.Model) + "\n" + "~g~" + sV.Price.ToMoneyString(),
veh.Position.Add(new Vector3(0, 0, 1.3)), 10.0f, 1f, 1, new Color(255, 255, 255));
}
veh.NumberPlate = numberplate;
return veh;
}
public abstract override string ToString();
}
}