Jump to content

NoxDies

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by NoxDies

  1. i want to write in chat but not with command. when ping higher than 100
  2. yes it is in client-side. but I'm trying on home server this script so i have 2 ping that's why i did it "ping > 1" but it should be 100 still not working.
  3. function highPing() local ping = getPlayerPing(getLocalPlayer()) if (ping > 100) then outputChatBox('#990033 ' .. getPlayerName(source) .. ' #ffffffhas high ping.', GetRootElement(), 250, 255, 250, true) end end addCommandHandler("ping", highPing) Whats wrong? When ping higher than 100 I want it written on chat.
×
×
  • Create New...