Initial commit
This commit is contained in:
8
gamemodes/darkrp/gamemode/modules/afk/sh_commands.lua
Normal file
8
gamemodes/darkrp/gamemode/modules/afk/sh_commands.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
DarkRP.registerDarkRPVar("AFK", net.WriteBit, fn.Compose{tobool, net.ReadBit})
|
||||
DarkRP.registerDarkRPVar("AFKDemoted", net.WriteBit, fn.Compose{tobool, net.ReadBit})
|
||||
|
||||
DarkRP.declareChatCommand{
|
||||
command = "afk",
|
||||
description = "Go AFK",
|
||||
delay = 1.5
|
||||
}
|
||||
Reference in New Issue
Block a user