fixed old placer locale issue
This commit is contained in:
1 parent
5ea2d32b88
commit
b4679f1866
4 files changed
+23
-10
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user