Added comments to some functions, renamed GetClientByName to GetClientByNameOrId
This commit is contained in:
@@ -18,6 +18,11 @@ namespace reallife_gamemode.Server.Extensions
|
||||
{
|
||||
public static class VehicleExtension
|
||||
{
|
||||
/// <summary>
|
||||
/// Gibt zurück, ob das Vehicle ein Fraktions-Fahrzeug ist
|
||||
/// </summary>
|
||||
/// <param name="vehicle">Das Vehicle, von dem man wissen möchte, ob es ein Fraktionsfahrzeug ist</param>
|
||||
/// <returns></returns>
|
||||
public static bool IsFactionVehicle(this Vehicle vehicle)
|
||||
{
|
||||
return LoadManager.FactionVehicleList.Contains(vehicle);
|
||||
|
||||
Reference in New Issue
Block a user