mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 14:26:03 +01:00
Update commands.lua
This commit is contained in:
@@ -48,14 +48,6 @@ if config.enableAopCommand then
|
|||||||
end)
|
end)
|
||||||
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
|
-- Twotter command
|
||||||
RegisterCommand("twt", function(source, args, rawCommand)
|
RegisterCommand("twt", function(source, args, rawCommand)
|
||||||
TriggerServerEvent("twt", GetPlayerServerId(PlayerId()), mainTwtName, string.gsub(rawCommand, "twt", ""))
|
TriggerServerEvent("twt", GetPlayerServerId(PlayerId()), mainTwtName, string.gsub(rawCommand, "twt", ""))
|
||||||
|
|||||||
Reference in New Issue
Block a user