Guys i wan't this dxDrawText appears for 3 secs when someone type the command /ping
function checkPing()
local ping = getPlayerPing(getLocalPlayer())
setTimer(function()
dxDrawText("#ff0000Your ping is: #00ff00"..ping.."", 805, 303, 1175, 338, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, true, false)
end, 1000, 1)
end
addCommandHandler("ping", checkPing)