/info als alias für /checkstats hinzugefügt
This commit is contained in:
@@ -3813,7 +3813,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
player.SendChatMessage("~m~Benutzung:~s~ /business [price] [Option]");
|
player.SendChatMessage("~m~Benutzung:~s~ /business [price] [Option]");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Command("checkstats", "~m~Benutzung:~s~ /checkstats [Spieler]")]
|
[Command("checkstats", "~m~Benutzung:~s~ /checkstats [Spieler]", Alias = "info")]
|
||||||
public void CmdAdminCheckStats(Player player, string nameOrId)
|
public void CmdAdminCheckStats(Player player, string nameOrId)
|
||||||
{
|
{
|
||||||
User user = player.GetUser();
|
User user = player.GetUser();
|
||||||
@@ -3838,7 +3838,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
bool flyingLicense = targetUser.FlyingLicensePlane;
|
bool flyingLicense = targetUser.FlyingLicensePlane;
|
||||||
bool weaponLicense = targetUser.WeaponLicense;
|
bool weaponLicense = targetUser.WeaponLicense;
|
||||||
int playedHours = targetUser.PlayedMinutes / 60;
|
int playedHours = targetUser.PlayedMinutes / 60;
|
||||||
string playedHoursString = "";
|
string playedHoursString;
|
||||||
int jailTime = targetUser.JailTime;
|
int jailTime = targetUser.JailTime;
|
||||||
|
|
||||||
if (user.IsAdmin(AdminLevel.HEADADMIN))
|
if (user.IsAdmin(AdminLevel.HEADADMIN))
|
||||||
|
|||||||
Reference in New Issue
Block a user