Added player data

This commit is contained in:
Cooldude2606 committed 2020-05-21 22:17:02 +01:00
1 parent 07caa9c4a2
commit 29fee79fea
6 files changed
+95 -16

No files matched your search

+3 -3
View File
@@ -40,12 +40,12 @@ end)
Commands.add_parse('string-options',function(input,player,reject,options)
if not input then return end -- nil check
input = input:lower()
for option in options do
for _, option in ipairs(options) do
if input == option:lower() then
return true
return option
end
end
return reject{'reject-string-options',options:concat(', ')}
return reject{'expcore-commands.reject-string-options', table.concat(options, ', ')}
end)
Commands.add_parse('string-max-length',function(input,player,reject,max_length)