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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user