mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
Update commands.lua
This commit is contained in:
@@ -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", ""))
|
||||
|
||||
Reference in New Issue
Block a user