Validate stored vehicle/object poses, show positions in 'vehicles', admin: Satsuma to me

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-26 23:25:00 +02:00
co-authored by Claude Opus 5.5
parent b33cd82e68
commit 24cd485bcc
4 changed files with 73 additions and 3 deletions
+13
View File
@@ -318,6 +318,19 @@ namespace MSCO
}
}
/// <summary>Admin: Satsuma neben sich holen (z.B. wenn er verschwunden oder im Boden ist).</summary>
public void BringCar()
{
if (!CanCheat || localPlayer == null) return;
Vector3 right = localPlayer.right;
Vector3 pos = localPlayer.position + right * 4f;
Quaternion rot = Quaternion.LookRotation(localPlayer.forward, Vector3.up);
string result = objects.BringVehicle("SATSUMA", pos, rot);
overlays.Log(result);
overlays.AddChat("", result, true);
if (result.EndsWith("next to you")) AnnounceCheat("brought the Satsuma to themselves");
}
/// <summary>Cheats für alle sichtbar im Chat melden.</summary>
void AnnounceCheat(string what)
{