fixed old placer locale issue

This commit is contained in:
gononono64 committed 2025-07-09 08:10:01 -05:00
1 parent 5ea2d32b88
commit b4679f1866
4 files changed
+23 -10

No files matched your search

+9
View File
@@ -26,4 +26,13 @@ RegisterCommand('startplacer', function(source, args, rawCommand)
else
print("Placement cancelled")
end
end)
RegisterCommand("startplacerold", function(source, args, rawCommand)
local model = args[1] or 'prop_barrel_01a' -- Default model if none provided
local distance = tonumber(args[2]) or 5.0 -- Default distance if not provided
local snapToGround = true
local offset = vector3(0.0, 0.0, 0.0) -- No offset
local obj = Bridge.Placeable.PlaceObject(model, distance, snapToGround, {}, offset)
end)