You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3664,12 +3664,12 @@ function pace.AddQuickSetupsToPartMenu(menu, obj)
3664
3664
end):SetIcon("icon16/comment.png")
3665
3665
lua_menu:AddOption("random command (e.g. trigger random animations)", function()
3666
3666
Derma_StringRequest("create random command", "please input a name for the event series\nyou should probably already have a series of command events like animation1, animation2, animation3 etc", "", function(str)
3667
-
obj:SetUseLua(true) obj:SetString([[local num = math.floor(math.random()*5) RunConsoleCommand("pac_event", "]] ..str..[[" num]])
3667
+
obj:SetUseLua(true) obj:SetString([[local num = math.floor(math.random()*5) RunConsoleCommand("pac_event", "]] ..str..[[", num)]])
0 commit comments