mirror of
https://github.com/willox/gmod-keypad.git
synced 2025-03-04 03:13:31 -05:00
commit
ae439a6b2a
@ -23,6 +23,12 @@ net.Receive("Keypad", function(_, ply)
|
||||
return
|
||||
end
|
||||
|
||||
if ent.Next_Command_Time and ent.Next_Command_Time > CurTime() then
|
||||
return
|
||||
end
|
||||
|
||||
ent.Next_Command_Time = CurTime() + 0.05
|
||||
|
||||
local command = net.ReadUInt(4)
|
||||
|
||||
if command == ent.Command_Enter then
|
||||
|
@ -23,6 +23,12 @@ net.Receive("Keypad_Wire", function(_, ply)
|
||||
return
|
||||
end
|
||||
|
||||
if ent.Next_Command_Time and ent.Next_Command_Time > CurTime() then
|
||||
return
|
||||
end
|
||||
|
||||
ent.Next_Command_Time = CurTime() + 0.05
|
||||
|
||||
local command = net.ReadUInt(4)
|
||||
|
||||
if command == ent.Command_Enter then
|
||||
|
Loading…
Reference in New Issue
Block a user