Update commands.lua

This commit is contained in:
Andyyy7666
2021-12-31 02:57:50 +01:00
committed by GitHub
parent 198a600705
commit c7184015ee

View File

@@ -48,14 +48,6 @@ if config.enableAopCommand then
end)
end
-- Money commands
RegisterCommand(config.payCommand, function(source, args, raw)
sendBank(mainCharaterId, args[1], args[2], GetPlayerServerId(PlayerId()))
end)
RegisterCommand(config.giveCommand, function(source, args, raw)
sendCash(mainCharaterId, args[1], GetPlayerServerId(PlayerId()))
end)
-- Twotter command
RegisterCommand("twt", function(source, args, rawCommand)
TriggerServerEvent("twt", GetPlayerServerId(PlayerId()), mainTwtName, string.gsub(rawCommand, "twt", ""))