Hi,
how do we disable the commands /dropmoney and /givemoney? I searched but found nothing.
Thanks in advance!
I think if you go in "darkrp\gamemode\modules\money\sh_commands.lua" and remove :
DarkRP.declareChatCommand{
command = "give",
description = "Give money to the player you're looking at.",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "dropmoney",
description = "Drop money on the floor.",
delay = 1.5
}
DarkRP.declareChatCommand{
command = "moneydrop",
description = "Drop money on the floor.",
delay = 1.5
}
That will disable their commands.
Or don't touch the core files, like is written all over the gamemode.
I found that file too, but I shouldn't touch the core files. So I was searching for another way.
Try to use Hooks/Server/canChatCommand for dropmoney,givemoney etc
Sorry, you need to Log In to post a reply to this thread.